def center(statement: str, fill: str='=', width: int=60) ->str:
    """Return statement centered by spaces and fill characters.

    :param str statement: statement to be returned
    :param str fill: fill character to be used (default: =)
    :param int width: total width of output string (default: 60)
    :returns: statement centered on line surrounded by fill characters
    :rtype: str
    """
    stmt_str = statement.center(len(statement) + 2)
    return '\n' + stmt_str.center(width, fill)
