Source Code:
(back to article)
my_list = [1, 2, 2, 3, 4, 4, 5] my_set = set(my_list) unique_list = list(my_set) print(unique_list)
Result:
Report an issue