ersa_utils.py
def make_center_string(char, length, center_str=''):
    """
    Make one line decoration string that has center_str at the center and surrounded by char
    The total length of the string equals to length
    :param char: character to be repeated
    :param length: total length of the string
    :param center_str: string that shown at the center
    :return:
    """
    return center_str.center(length, char)

    Make one line decoration string that has center_str at the center and surrounded by char
    The total length of the string equals to length
    :param char: character to be repeated
    :param length: total length of the string
    :param center_str: string that shown at the center
    :return:
    
Make one line decoration string that has center_str at the center and surrounded by char
The total length of the string equals to length
Make one line decoration string that has center_str at the center and surrounded by char The total length of the string equals to length
def make_center_string(char, length, center_str=''):
    return center_str.center(length, char)
def make_center_string ( char , length , center_str = '' ) : return center_str . center ( length , char )
Make one line decoration string that has center_str at the center and surrounded by char
The total length of the string equals to length
Make one line decoration string that has center_str at the center and surrounded by char The total length of the string equals to length
"""
    Make one line decoration string that has center_str at the center and surrounded by char
    The total length of the string equals to length
    :param char: character to be repeated
    :param length: total length of the string
    :param center_str: string that shown at the center
    :return:
    """
None
char
character to be repeated
character to be repeated
length
total length of the string
total length of the string
center_str
string that shown at the center
string that shown at the center