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