Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

remove items from list while iterating python

somelist = [x for x in somelist if not determine(x)]
Source by codeit.codes #
 
PREVIOUS NEXT
Tagged: #remove #items #list #iterating #python
ADD COMMENT
Topic
Name
9+4 =