Skip to content
Quiz · Collections · lesson 7 of 10

Quiz — bytes and chars

Question 1 of 2

What does the program print?

Rust
fn main() {
    let s = "привет";
    println!("{} {}", s.len(), s.chars().count());
}