remove double [] python 3 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)