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