Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to check if there are duplicates in a list python

>>> your_list = ['one', 'two', 'one']
>>> len(your_list) != len(set(your_list))
True
Source by www.educative.io #
 
PREVIOUS NEXT
Tagged: #check #duplicates #list #python
ADD COMMENT
Topic
Name
2+7 =