def print_header(line):
 header_str = '='
 header_line = (header_str * len(line))
 print(('\n' + header_line))
 print(line)
 print(header_line)

def print_header ( line ) : header_str = '=' header_line = ( header_str * len ( line ) ) print ( ( '\n' + header_line ) ) print ( line ) print ( header_line )
format and print header block sized to length of line .