← Back to Printing
Question 82
Print A Triple Quoted Block
Print A Triple Quoted Block
A string written between triple quotes keeps the line breaks typed inside it. Print the declared poem with one print call so that its three lines appear as three lines of output. Input: none; the value is fixed in the code.
Expected Output:
Roses are red Violets are blue Python is fun
= newline. The output ends with a newline — print one after the last line.
Hints2 available
Sign in to use hintsTopics:
Printing
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.