DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
find different between list
a = ['1', '2'] b = ['1', '2', '3', '4'] diff = list(set(a) - set(b)) ['3', '4']
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#find
#list
ADD COMMENT
Topic
COMMENT
Name
5+8 =
Submit