delete duplicates from a list python code example
Example: python remove duplicates
word = input().split()
for i in word:
if word.count(i) > 1:
word.remove(i)
word = input().split()
for i in word:
if word.count(i) > 1:
word.remove(i)