Created
August 7, 2019 18:16
-
-
Save parzibyte/64f031d626a09afd205ec05903583c34 to your computer and use it in GitHub Desktop.
Agregar elemento a arreglo en Python - https://parzibyte.me/blog/2018/10/17/agregar-elemento-lista-arreglo-python/
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
peliculas = ['Volver al futuro', 'Pulp Fiction', 'Ready Player One'] | |
print("Antes de agregar un elemento, la lista es:") | |
print(peliculas) | |
peliculas.append('Animales fantásticos y dónde encontrarlos') | |
print("Después de agregar un elemento, la lista es:") | |
print(peliculas) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment