let str = "level";for c in str.chars() { println!("{c}");}//Перебор с индексомfor (i, c) in str.chars().enumerate() { println!("str[{i}] = {c};");}