Exerpad
🔥0
0 XP
Lv.1 Beginner
Log In

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
🔒Hint 2
🔒Hint 3
python
i = 5
while i > 1:
print(i)
i = i - 1