Exerpad
Exercise 1 · Chapter: SetsRequired+50 XP

Unique Letters

Read a word from the user. Use a set to find how many unique letters are in the word, then print that count.

For example, the word "hello" has 4 unique letters: h, e, l, o.

Need a hint?
3 available · costs 5 XP each
javascript

Output
Run your code to see the output here.