input: Write a function to develop a loop that prints a Python array from the end to the beginning. The function should take an array as input and print each element in reverse order separated by a space. If the array is empty, it should print an empty line.
  
  def printArrayReverse(arr):
      for i in range(len(arr) - 1, -1, -1):
          print(arr[i], end = " ")
      if len(arr) == 0:
          print()
  
  assert printArrayReverse([1, 2, 3, 4, 5])==None
  assert printArrayReverse([5, 4, 3, 2, 1])==None
  assert printArrayReverse([0, 0, 0, 0])==None
  assert printArrayReverse([])==None
output: def printArrayReverse(arr):
      for i in range(len(arr) - 1, -1, -1):
          print(arr[i], end=" ")
      if len(arr) == 0:
          print()