def print_header_with_lines(text: str, line_char: str='-') ->None:
    """ Sandwich a given string with an equal length line of separate characters above and below it. """
    length = len(text)
    print('', line_char * length, text, line_char * length, sep='\n')
