input: Write a function to print a Python array from the end to the beginning. If the array is empty, the function should print nothing. 
  
  def printArrayReverse(arr):
      for i in range(len(arr) - 1, -1, -1):
          print(arr[i], end=" ")
  
  assert printArrayReverse([1, 2, 3, 4, 5])
  assert printArrayReverse([5, 4, 3, 2, 1])
  assert printArrayReverse([10, 20, 30, 40])
  assert printArrayReverse([])
output: def printArrayReverse(arr):
      for i in range(len(arr) - 1, -1, -1):
          print(arr[i], end=" ")