Created
April 23, 2020 03:45
-
-
Save parzibyte/f1c8a5620157323fa465946879743bc7 to your computer and use it in GitHub Desktop.
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
# También podemos usar operaciones de listas (https://parzibyte.me/blog/2018/12/18/operaciones-cortar-arreglos-python/) | |
# Eliminar desde el segundo hasta el final | |
del lista[1:] | |
print("Después de eliminar: " + str(lista)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment