input: Write a function to implement a loop that prints a Python array from the end to the beginning. If the array is empty, print "Empty Array". Otherwise, print each element separated by a space.
  assert printArrayReverse([1, 2, 3, 4, 5])
  assert printArrayReverse([5, 4, 3, 2, 1])
  assert printArrayReverse([1, 3, 5, 7, 9])
  assert printArrayReverse([9, 7, 5, 3, 1])
  assert printArrayReverse([])
output: def printArrayReverse(arr):
      if not arr:
          print("Empty Array")
      else:
          print(" ".join(map(str, arr[::-1])))