DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python remove common elements between two lists
res = list(set(a)^set(b))
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#python
#remove
#common
#elements
#lists
ADD COMMENT
Topic
COMMENT
Name
1+5 =
Submit