python find non duplicates in list code example
Example 1: python list with only unique values
my_list = list(set(my_list))
Example 2: how to check if there are duplicates in a list python
>>> your_list = ['one', 'two', 'one']
>>> len(your_list) != len(set(your_list))
True