DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python remove first element from list
>>> l = [1, 2, 3, 4, 5] >>> l [1, 2, 3, 4, 5] >>> l.pop(0) 1 >>> l [2, 3, 4, 5]
Source by www.techiedelight.com #
PREVIOUS
NEXT
Tagged:
#python
#remove
#element
#list
ADD COMMENT
Topic
COMMENT
Name
7+1 =
Submit