-
-
Save fatosmorina/0ae51128fc739529585780203c14f145 to your computer and use it in GitHub Desktop.
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
my_list = [1, 2, 3, 4] | |
my_list.reverse() | |
for element in my_list: | |
print(element) | |
# 4 | |
# 3 | |
# 2 | |
# 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment