#NEWLINE# def _heading( title , divider , desc = '' ) : #NEWLINE# #INDENT# hyphen = ( '' if ( desc == '' ) else ' - ' ) #NEWLINE# text = '\n {} {} {}\n|{}|\n' . format ( title . upper ( ) , title , desc , ( divider * MAX_WIDTH ) ) #NEWLINE# print_nl ( text )