Skip to content

Instantly share code, notes, and snippets.

@airatkh
Created February 2, 2019 07:23
Show Gist options
  • Save airatkh/0773f40f069b87526f6eada607bde25e to your computer and use it in GitHub Desktop.
Save airatkh/0773f40f069b87526f6eada607bde25e to your computer and use it in GitHub Desktop.
reverse
test_arr = list(range(10))
print(test_arr)
print(test_arr[::-1])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment