You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
my_list = [10, 20, 30, 40, 20, 50, 60, 40]
|
|
print("Original List : ",my_list)
|
|
my_set = set(my_list)
|
|
my_new_list = list(my_set)
|
|
print("List of unique numbers : ",my_new_list) |