Run
x = 'Hello World' result = x.center(20, '-') print(result)
Output