CJCoding With Joseph
15free / daySign inCreate account
← Back to Question List
Python Code Walkthrough #12

Countdown By Two

easyLoops

📄 Code

Read carefully — what does this print?
1num: int = 9
2while num > 0:
3 print(num, end=' ')
4 num = num - 2
5print()
6print(num)

🎯 Your Answer