Created
February 29, 2024 10:58
-
-
Save TGITS/a92900171ecb470736ed874b253066e1 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