valeur unique Python
sample_list = [10, 20, 10]
unique_values = (list(set(sample_list)))
CompSciGeek
sample_list = [10, 20, 10]
unique_values = (list(set(sample_list)))
original = ['a', 'b', 'a']
non_duplicates = list(set(original))
print(non_duplicates)
array = [1,2,3,4,1,2,3,6]
set(array)
#output [1,2,3,4,6]