CJCoding With Joseph
15free / daySign inCreate account

Underline The Title

Read a title and print it, then on the next line print a row of dashes exactly as long as the title, made by multiplying '-' by len() of the title. Input: one line, the title, no prompt. The output is two lines.

Expected Output:

Weekly Report
-------------

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

Hints2 available
Topics:
StringsOperators
📥 Auto-Input:
Weekly Report\n
This input is automatically fed to your program's stdin
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.