CJCoding With Joseph
15free / daySign inCreate account

Repeat The Laugh

Print one line of output beginning with the label Laugh and a colon, a space, and then the declared syllable repeated the declared number of times with nothing between the repeats. Use the * operator on the string and pass the label and the repeated string as two values to print. Input: none; the values are fixed in the code.

Expected Output:

Laugh: hahaha

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

Hints2 available
Topics:
PrintingOperators
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.