CJCoding With Joseph
15free / daySign inCreate account

Three Lines In One String

A triple-quoted string may run over several lines, and every line break typed inside it is kept. Declare poem as one triple-quoted string holding the three lines Roses are red / Violets are blue / Python is fun (one per line, no slashes), then print it once; the output is those three lines in order. No input is read.

Expected Output:

Roses are red
Violets are blue
Python is fun

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

Hints3 available
Topics:
StringsVariables
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.