Develop a loop that prints a python array from the end to the beginning.
arr = [1, 2, 3, 4, 5]
def printArrayReverse(arr): 
    for i in range(len(arr) - 1, -1, -1): 
        print(arr[i], end = " ")

printArrayReverse(arr)