Exerpad
Exercise 7 · Chapter: SetsRequired+50 XP

Unique Words

Read a sentence from input. Print the count of unique words, then print each unique word sorted alphabetically.

Example: for the cat and the dog:

4
and
cat
dog
the
Need a hint?
3 available · costs 5 XP each
python

Output
Run your code to see the output here.