LearnPy Hub
← Loops problems
Easy

One Letter per Line

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

Input

One word.

Output

One line per character.

Sample 1

Input
cat
Output
c
a
t

Sample 2

Input
Py
Output
P
y
solution.py
Output appears here
One Letter per Line · Python practice problem · LearnPy Hub