def format_screen(strng):
 par_re = re.compile('\\\\$', re.MULTILINE)
 strng = par_re.sub('', strng)
 return strng

def format_screen ( strng ) : par_re = re . compile ( '\\\\$' , re . MULTILINE ) strng = par_re . sub ( '' , strng ) return strng
format a string for screen printing .