DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to check the duplicate item in list
thelist = [1, 2, 3, 4, 4, 5, 5, 6, 1] print(len(thelist) != len(set(thelist)))
Source by www.pythonprogramming.in #
PREVIOUS
NEXT
Tagged:
#check
#duplicate
#item
#list
ADD COMMENT
Topic
COMMENT
Name
1+4 =
Submit