Easy
Iterate Over Letters With next()
Read a word of at least 3 letters. Make
it = iter(word) and print the first three letters using next(it) three times, on one line.Input
One word.
Output
One line.
Sample 1
Input
Python
Output
P y t
Sample 2
Input
abc
Output
a b c
Output appears here