Practice
Count Down
EASYLoops
Read a positive integer N. Output the integers from N down to 1, each on a new line.
Input: A positive integer N. Output: Integers from N to 1, one per line.
Example:
Input: 5
Output: 5
4
3
2
1
Premium is coming soon. All grading features are currently unlocked.
Sample Test Cases
Test 1: Count from 5
Inputs: 5
Expected: 5
4
3
2
1
Test 2: Count from 3
Inputs: 3
Expected: 3
2
1
Ctrl+Enter
Press Ctrl+Enter to run your code
or Ctrl+Shift+Enter to grade