Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created December 19, 2018 04:27
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 parzibyte/41071e2c4128b670d01372e6bed804ff to your computer and use it in GitHub Desktop.
Save parzibyte/41071e2c4128b670d01372e6bed804ff to your computer and use it in GitHub Desktop.
Invertir lista internamente created by parzibyte - https://repl.it/@parzibyte/Invertir-lista-internamente
"""
Invertir lista o arreglo en Python
@author parzibyte
"""
lenguajes = ["Go", "Rust", "C", "JavaScript", "PHP"]
print("Originalmente, la lista es: ", lenguajes)
lenguajes.reverse()
print("Y al invertirla internamente, es: ", lenguajes)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment