CJCoding With Joseph
15free / daySign inCreate account

Spell It Out With Spaces

Read a word and print its characters on one line separated by single spaces, using for ch in word with print(ch, end=' '), then a bare print() after the loop to end the line. Input: one line, the word, no prompt. Expected Output shows the spaced letters.

Expected Output:

c o d e

= newline. The output ends with a newline — print one after the last line.

Hints3 available
Topics:
Loops
📥 Auto-Input:
code\n
This input is automatically fed to your program's stdin
1
Tab to indent (Esc then Tab to move on) · Ctrl+Enter to run · Ctrl+Space to expand shortcuts (pr, inp, def)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.