Skip to content

Instantly share code, notes, and snippets.

@TGITS
Created February 29, 2024 10:58
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/a92900171ecb470736ed874b253066e1 to your computer and use it in GitHub Desktop.
Save TGITS/a92900171ecb470736ed874b253066e1 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