Solution: Countdown
We'll cover the following...
We'll cover the following...
This program counts backward from 5 to 1 and then prints “Liftoff!” — just like a rocket countdown!
for i in range(5, 0, -1):print(i)print("Liftoff!")
...
This program counts backward from 5 to 1 and then prints “Liftoff!” — just like a rocket countdown!
for i in range(5, 0, -1):print(i)print("Liftoff!")