Exerpad
Exercise 5 · Chapter: For LoopsRequired+50 XP

Letter Counter

Read a word and print each letter on its own line.

Example:

Input:

hello

Output:

h
e
l
l
o
Need a hint?
3 available · costs 5 XP each
javascript

Output
Run your code to see the output here.