Challenge: Countdown Timer 7
Task
Swipe to start coding
Write a function that performs a countdown from 10 to 1 and then prints a message.
- Use a
whileloop to print each number from 10 down to 1, one per line. - After the countdown, print the message "Blast off!" on a new line.
Solution
Everything was clear?
Thanks for your feedback!
Section 1. Chapter 4
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Awesome!
Completion rate improved to 5.56
Challenge: Countdown Timer 7
Swipe to show menu
Task
Swipe to start coding
Write a function that performs a countdown from 10 to 1 and then prints a message.
- Use a
whileloop to print each number from 10 down to 1, one per line. - After the countdown, print the message "Blast off!" on a new line.
Solution
Everything was clear?
Thanks for your feedback!
Section 1. Chapter 4
single