← Back to Printing
Question 74
Newline Inside The Quotes
Newline Inside The Quotes
Two lines of a rhyme are declared. Print them as two lines of output using a single print call: build one f-string holding the first line, then the newline escape \n, then the second line. Input: none; the values are fixed in the code.
Expected Output:
Roses are red Violets are blue
= 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.