DEV Community

loading...

Discussion on: For Loop in different programming languages

Collapse
living_syn profile image
Jeremy Mill

Or in rust

let my_str = "Hello World!";    
for c in my_str.chars() { 
    print!("{}",c);
}
Forem Open with the Forem app