โ Back to Loops
Question 30
Countdown 5 to 0
Countdown 5 to 0
Use a for loop to count down from 5 to 0 on one line, separated by single spaces. Expected output: 5 4 3 2 1 0
Expected Output:
5 4 3 2 1 0
Topics:
Loops
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (p, fori)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.