Exerpad
🔥0
0 XP
Lv.1 Beginner
Log In

Letter Frequency

Read a word from input. Count how many times each letter appears and print each letter with its count, sorted alphabetically.

Example: for hello:

text
e: 1
h: 1
l: 2
o: 1

💡 Hints

?Hint 1
🔒Hint 2
🔒Hint 3
python