DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python removing duplicate item
list_1 = [1, 2, 1, 4, 6] list_2 = [7, 8, 2, 1] print(list(set(list_1) ^ set(list_2)))
Source by www.programiz.com #
PREVIOUS
NEXT
Tagged:
#python
#removing
#duplicate
#item
ADD COMMENT
Topic
COMMENT
Name
9+7 =
Submit