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))
Source by w3schoolsrus.github.io #
 
PREVIOUS NEXT
Tagged: #python #remove #duplicates #list
ADD COMMENT
Topic
Name
6+8 =