Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pop list python

#pop removes the last element
li=[1,2,3,4,5]
li.pop()
#>>>[1, 2, 3, 4]
 
PREVIOUS NEXT
Tagged: #pop #list #python
ADD COMMENT
Topic
Name
7+5 =