Quiz · Collections · lesson 7 of 10
Quiz — bytes and chars
Question 1 of 2
What does the program print?
fn main() {
let s = "привет";
println!("{} {}", s.len(), s.chars().count());
}What does the program print?
fn main() {
let s = "привет";
println!("{} {}", s.len(), s.chars().count());
}