diff --git a/loops/src/main.rs b/loops/src/main.rs index b44e6b7..df5b305 100644 --- a/loops/src/main.rs +++ b/loops/src/main.rs @@ -1,7 +1,6 @@ fn main() { - let a = [10, 20, 30, 40, 50]; - - for element in a { - println!("the value is: {element}"); + for number in (1..4).rev() { + println!("{number}!"); } + println!("LIFTOFF!!!"); }