Too many positional arguments are provided while calling the function. Check the function signature of the function being called to make sure that you are passing the right arguments.
string = 'abcd'
string.center(10, '=', ' ') # center only takes 2 arguments
string = 'abcd'
string.center(10, '=')