input:     def printArrayReverse(arr: List[int]) -> None:
          """
          Prints a Python array from the end to the beginning.
          >>> arr = [1, 2, 3, 4, 5]
          >>> printArrayReverse(arr)
          5 4 3 2 1 
          """
          for i in range(len(arr) - 1, -1, -1):
              print(arr[i], end = " ")
output:     print()