RosettaCodeData/Task/Loops-For/Rust/loops-for.rust

8 lines
80 B
Plaintext

for i in 0..5 {
for _ in 0..(i + 1) {
print!("*");
}
print!("\n");
}