Write countdown(n) returning [n, n-1, …, 1] using a while loop.
countdown(3) → [3, 2, 1]
countdown(0) → []
Submit runs 4 tests, including hidden edge cases.
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.