Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to remove all 2 in a list python

x = [2, 1, 2]
while 2 in x:
  remove(2)
 
PREVIOUS NEXT
Tagged: #remove #list #python
ADD COMMENT
Topic
Name
2+2 =