Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python list pop vs remove

>>> a = [0, 2, 3, 2]
>>> a.remove(2)
>>> a
[0, 3, 2]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #list #pop #remove
ADD COMMENT
Topic
Name
1+1 =