Coding task · Python course · Module 2: Data Structures

Removing Duplicates

Use a set to remove duplicates

Task

Remove the duplicates from the list numbers = [1, 2, 2, 3, 3, 3, 4] with set(), store the result in the variable unique and print it