Search
 
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
Name
8+6 =