← Back to Strings
Question 22
A Row Of Equals Signs
A Row Of Equals Signs
Multiplying a string by a whole number repeats it, so '=' * 20 is a row of twenty equals signs. Print such a row, then the stored title, then the same row again, so the output is three lines with the title boxed between the two rows. No input is read.
Expected Output:
==================== Weekly Report ====================
= newline. The output ends with a newline — print one after the last line.
Hints2 available
Sign in to use hintsTopics:
StringsOperators
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.