def print_with_header ( header , message , color , indent = 0 ) : print ( ) padding = ' ' * indent print ( padding + color + BOLD + header + ENDC + color + message + ENDC )
add header and footer to python print
Use one of the functions below for printing not this one .
def print_with_header(header, message, color, indent=0):
    """
    Use one of the functions below for printing, not this one.
    """
    print()
    padding = ' ' * indent
    print(padding + color + BOLD + header + ENDC + color + message + ENDC)