Quiz hubs
Coding tools
Learn & compete
Community
Practice
Generate a list of integers from n down to 1 in descending order.
Constraints
Example
>>> count_down(5) [5, 4, 3, 2, 1] >>> count_down(1) [1] >>> count_down(0) []
Recent Submissions
No submissions yet — hit Run Tests to try!
Hints