Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

remove duplicates python

mylist = ["a", "b", "a", "c", "c"]
mylist = list(dict.fromkeys(mylist))
Source by w3schoolsrus.github.io #
 
PREVIOUS NEXT
Tagged: #remove #duplicates #python
ADD COMMENT
Topic
Name
6+2 =