DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
1+5 =
Submit