Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

remove duplicates python

mylist = ["a", "b", "a", "c", "c"]
mylist = list(dict.fromkeys(mylist))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #duplicates #python
ADD COMMENT
Topic
Name
1+5 =