Created
April 23, 2020 03:43
-
-
Save parzibyte/4ece756a3a64bffbb7a4c5aa45137d94 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
lista = ["Resident Evil 2", "Gears 5", "Cuphead", "Mortal Kombat"] | |
print("Antes de eliminar: " + str(lista)) | |
# Ahora eliminamos el del índice 1; y como comienzan en 0, sería el segundo | |
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