DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
set change order python
>>> a = [1, 2, 20, 6, 210] >>> b = set([6, 20, 1]) >>> [x for x in a if x not in b] [2, 210]
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#set
#change
#order
#python
ADD COMMENT
Topic
COMMENT
Name
1+1 =
Submit