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