Created
January 20, 2024 16:34
-
-
Save TGITS/b4e968b60639f296f7c4aacc5a522f4e to your computer and use it in GitHub Desktop.
Utilisation de la fonction reversed() sur un tuple
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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