Created
June 14, 2018 12:32
-
-
Save Fhernd/4d6a81e5271dfe81403f5967bddde37b to your computer and use it in GitHub Desktop.
Recorrido inverso de una secuencia o colección. OrtizOL.
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
primos = [2, 3, 5, 7, 11] | |
for primo in reversed(primos): | |
print(primo) | |
print() | |
python = 'Python' | |
for caracter in reversed(python): | |
print(caracter) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment