3 lines
150 B
Python
3 lines
150 B
Python
|
items = input("Input comma separated sequence of words")
|
||
|
words = [word for word in items.split(",")]
|
||
|
print(",".join(sorted(list(set(words)))))
|