โ Back to Printing
Question 47
Print a Repeated Character
Print a Repeated Character
The string method .repeat(n) returns a string repeated n times. Print a line made of the '=' character repeated 10 times. Expected output: ==========
Expected Output:
==========
Topics:
Printing
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (clog, fn, fori)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.