Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python remove duplicates from list

bad_list = ["hi", 1, 2, 2, 3, 5, "hi", "hi"]
good_list = list(set(bad_list))
 
PREVIOUS NEXT
Tagged: #python #remove #duplicates #list
ADD COMMENT
Topic
Name
9+8 =