Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

remove duplicates without changing order python

sequence = ['1', '2', '3', '3', '6', '4', '5', '6']
unique = []
[unique.append(item) for item in sequence if item not in unique]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #duplicates #changing #order #python
ADD COMMENT
Topic
Name
6+9 =