Exerpad
Exercise 1 · Chapter: While LoopsRequired+50 XP

Count to Five

Print the numbers 1 through 5, each on its own line, using a while loop.

1
2
3
4
5
Need a hint?
3 available · costs 5 XP each
python

Output
Run your code to see the output here.