Answers for "python extraer primer elemento lista"

1

python extraer primer elemento lista

lista = [1, 2, 3]
elemento = lista.pop(0)
print(elemento) # 1
print(lista) # [2, 3]
Posted by: Guest on January-23-2021

Python Answers by Framework

Browse Popular Code Answers by Language