DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python remove duplicates from list
# get unique items in list aa with order maintained (python 3.7 and up) list(dict.fromkeys(aa))
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#python
#remove
#duplicates
#list
ADD COMMENT
Topic
COMMENT
Name
1+8 =
Submit