Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

list remove method in python

l1 = [1, 8, 7, 2, 21, 15]
# l1.remove(21) # removes 21 from the list
print(l1)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #list #remove #method #python
ADD COMMENT
Topic
Name
3+9 =