DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
remove list from list python
>>> a = range(1, 10) >>> [x for x in a if x not in [2, 3, 7]] [1, 4, 5, 6, 8, 9]
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#remove
#list
#list
#python
ADD COMMENT
Topic
COMMENT
Name
8+1 =
Submit