Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

remove first item from list python

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