Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to check if everything inside a list is unique

len(set(x)) == len(x)

if true : 
	print("all values of x are unique")
else:
	print("not all values of x are unique")
 
PREVIOUS NEXT
Tagged: #check #list #unique
ADD COMMENT
Topic
Name
1+9 =