The following solution is a quick method to remove duplicate elements from a list using python.
values = [3,4,1,2,2,4,4,4,4,4,6,2,1,3,2,4,5,1,4] values = list(set(values)) print("Curated List--->", values)
The above snippet of code is self explanatory and hope this helps.