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 favtutor.com #
 
PREVIOUS NEXT
Tagged: #python #remove #duplicates
ADD COMMENT
Topic
Name
8+9 =