input: Write a function that prints an array in reverse order. The function should take a list as input and print each element from the end of the array to the beginning.
  def print_reverse_array(arr):
   for i in range(len(arr)-1, -1, -1): 
    print(arr[i])
  
  assert print_reverse_array([1, 2, 3, 4, 5])
  assert print_reverse_array([10, 20, 30])
  assert print_reverse_array([])
  assert print_reverse_array([7])
  assert print_reverse_array([8, 9])
output: def print_reverse_array(arr):
   for i in range(len(arr)-1, -1, -1): 
    print(arr[i])