Get unique values from a list in python - Stack Overflow

PHOTO EMBED

Sat Jul 29 2023 08:36:13 GMT+0000 (Coordinated Universal Time)

Saved by @EMR4HKLMN #python

mylist = ['nowplaying', 'PBS', 'PBS', 'nowplaying', 'job', 'debate', 'thenandnow']
myset = set(mylist)
print(myset)
content_copyCOPY

https://stackoverflow.com/questions/12897374/get-unique-values-from-a-list-in-python