input: Write a function to print an array in reverse order from the end to the beginning. If the given array is empty, print "Array is empty".
  
  def printArrayReverse(arr):
      if len(arr) == 0:
          print("Array is empty")
      else:
          for i in range(len(arr) - 1, -1, -1):
              print(arr[i], end = " ")
  
  printArrayReverse([1, 2, 3, 4, 5])
  printArrayReverse([10, 20, 30, 40])
  printArrayReverse([])
  
  Array should be printed as:
  5 4 3 2 1 
  40 30 20 10 
  Array is empty
output: def printArrayReverse(arr):
      if len(arr) == 0:
          print("Array is empty")
      else:
          for i in range(len(arr) - 1, -1, -1):
              print(arr[i], end = " ")