Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to find unique values in list in python

mylist = ['nowplaying', 'PBS', 'PBS', 'nowplaying', 'job', 'debate', 'thenandnow']
myset = set(mylist)
print(myset)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #find #unique #values #list #python
ADD COMMENT
Topic
Name
9+6 =