Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to pop things out of list python

>>> l = ['a', 'b', 'c', 'd']
>>> l.pop(0)
'a'
>>> l
['b', 'c', 'd']
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pop #list #python
ADD COMMENT
Topic
Name
1+1 =