input: Write a python function to implement a countdown and return the sequence as a list.
  assert countdown(5) == [5, 4, 3, 2, 1]
  assert countdown(3) == [3, 2, 1]
  assert countdown(0) == []
output: def countdown(n):
      return list(range(n, 0, -1))