numbers = [1, 2, 2, 3, 3, 4, 5]unique_numbers = list(set(numbers))print(unique_numbers code example Example: python list with only unique values my_list = list(set(my_list))