• + 3 comments

    I think using reversed() is more readable.

    print(' '.join(map(str, reversed(arr))))