Skip to content

Instantly share code, notes, and snippets.

@TGITS
Created January 20, 2024 16:34
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 TGITS/b4e968b60639f296f7c4aacc5a522f4e to your computer and use it in GitHub Desktop.
Save TGITS/b4e968b60639f296f7c4aacc5a522f4e to your computer and use it in GitHub Desktop.
Utilisation de la fonction reversed() sur un tuple
tuple = (1, 2, 3, 4)
for i in reversed(tuple):
print(str(i) + " ", end="")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment