Created
December 26, 2019 12:39
-
-
Save Fhernd/dae78b6d719490113e6a112eac215324 to your computer and use it in GitHub Desktop.
# Ejercicio 428: Remover un elemento de una tupla usando una lista.
This file contains hidden or 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
# Ejercicio 428: Remover un elemento de una tupla usando una lista. | |
numeros = (2, 3, 5, 7, 11) | |
numeros_lista = list(numeros) | |
print(numeros_lista) | |
numeros_lista.pop(2) | |
print(numeros_lista) | |
print() | |
numeros = tuple(numeros_lista) | |
print(numeros) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment