Section 1. Chapter 22
single
Challenge: Print Countdown
Swipe to show menu
Task
Swipe to start coding
Write a function that prints numbers from 5 down to 1, pausing for one second between each number.
- Use a loop to iterate from 5 down to 1.
- Print each number in the sequence.
- Pause for one second after printing each number.
Solution
Everything was clear?
Thanks for your feedback!
Section 1. Chapter 22
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat