Write a program to print the unique elements in a list


Topic: Write a program to print the unique elements in a list

Solution

my_list = [1, 2, 4, 5, 2, 3, 1, 5, 4, 7, 8, 2, 4, 5, 2, 7, 3]
print(set(my_list))



List all Python Programs