input: Write a function to print numbers in reverse order using a for loop and the reversed function.
  assert reverse_print(10) == [9,8,7,6,5,4,3,2,1,0]
  assert reverse_print(5) == [4,3,2,1,0]
  assert reverse_print(3) == [2,1,0]
output: def reverse_print(n):
      result = []
      for i in reversed(range(n)):
          result.append(i)
      return result