CJCoding With Joseph
15free / daySign inCreate account

Spaced Out Letters

Read one word and print its characters on one line with a single space after each one, by looping over the word with for character in word: and printing each character with end=' ' so the cursor stays on the same line. Input: one line, the word, no prompt.

Expected Output:

p y t h o n

= newline. No newline after the last line.

Hints2 available
Topics:
Strings
📥 Auto-Input:
python\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.