Skip to content

Instantly share code, notes, and snippets.

@Fhernd
Created June 14, 2018 12:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Fhernd/4d6a81e5271dfe81403f5967bddde37b to your computer and use it in GitHub Desktop.
Save Fhernd/4d6a81e5271dfe81403f5967bddde37b to your computer and use it in GitHub Desktop.
Recorrido inverso de una secuencia o colección. OrtizOL.
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