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 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
COMMENT
Name
9+2 =
Submit