Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python extraer primer elemento lista

lista = [1, 2, 3]
elemento = lista.pop(0)
print(elemento) # 1
print(lista) # [2, 3]
 
PREVIOUS NEXT
Tagged: #python #extraer #primer #elemento #lista
ADD COMMENT
Topic
Name
6+6 =