← Back to Functions
Question 305
Three Line Banner
Three Line Banner
Write the body of print_banner, a function with no parameters and no return value that prints three lines: ten equals signs, the word Welcome, then ten equals signs again. Do NOT write a main block or any top-level test code; the tests construct the calls. Input: none. Output: the three lines described, in that order.
Expected Output:
========== Welcome ==========
= newline. The output ends with a newline — print one after the last line.
Hints3 available
Sign in to use hintsTopics:
Functions
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.