Created
February 29, 2024 10:57
-
-
Save TGITS/c0bc176fc0a2700e52d33e251e52a733 to your computer and use it in GitHub Desktop.
Exemple de l'utilisation de la fonction reversed sur un range en Python
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
print('Compte à rebours :') | |
for i in reversed(range(10)): | |
print(i) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment