Skip to content

Instantly share code, notes, and snippets.

@brockthebear
Last active April 27, 2017 19:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brockthebear/4c94a56e54ecbc1b3992bd132633c3c7 to your computer and use it in GitHub Desktop.
Save brockthebear/4c94a56e54ecbc1b3992bd132633c3c7 to your computer and use it in GitHub Desktop.
#!/bin/python3
import sys
n = int(input().strip())
arr = [int(arr_temp) for arr_temp in input().strip().split(' ')]
print(' '.join(map(str,reversed(arr))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment