Python Eliminar los duplicados de la lista
mylist = ["a", "b", "b", "c", "a"]
mylist = sorted(set(mylist))
print(mylist)
mylist = ["a", "b", "b", "c", "a"]
mylist = sorted(set(mylist))
print(mylist)
mylist = ["a", "b", "a", "c", "c"]
mylist = list(dict.fromkeys(mylist))
print(mylist)
# remove duplicate from given_list using list comprehension
res = []
[res.append(x) for x in given_list if x not in res]
mylist = ["a", "b", "a", "c", "c"]
mylist = list(dict.fromkeys(mylist))
myList = sorted(set(myList))
word = input().split()
for i in word:
if word.count(i) > 1:
word.remove(i)