Write a function that takes a list and returns a new list that contains all the non duplicate elements of this list . Use set to copy all contents from list so it will remove all duplicates. Then convert the set to list code example
Example: python remove duplicates
word = input().split()
for i in word:
if word.count(i) > 1:
word.remove(i)