Project: Countdown
Practice using while to count down and finish with a message.
We'll cover the following
Task
Write a program that counts down from 5 to 1, and then prints “Liftoff!”
Hint: Use range(5, 0, -1)
to count backward from 5 to 1.
Get hands-on with 1400+ tech skills courses.