🔥
0
0 XP
Lv.1 Beginner
Log In
Home
/
Python
/
Getting Started
/
While Loops
/
Fix The Countdown
/
Exercise
Fix the Countdown
This countdown stops too early — it prints 5 to 2 but misses 1. Fix it!
Expected output:
text
5 4 3 2 1
💡
Hints
?
Hint 1
Reveal (-5 XP)
🔒
Hint 2
🔒
Hint 3
python
Reset
9
1
2
3
4
i
=
5
while
i
>
1
:
print
(
i
)
i
=
i
-
1
▶ Run
Visualize
✓ Submit
← Times Table
Guess the Number →