Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python remove duplicates

word = input().split()

for i in word:
  if word.count(i) > 1:
    word.remove(i)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #remove #duplicates
ADD COMMENT
Topic
Name
9+5 =