remove duplicate elements from array 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)