CJCoding With Joseph
15free / daySign inCreate account

Echo The Word Three Times

Read one word and print it three times in a row with nothing between the copies, using the * operator on the string rather than typing it out. Input: one line, the word, no prompt. The output is one line.

Expected Output:

hahaha

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

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