Created
December 19, 2018 04:27
-
-
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
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
""" | |
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