def convert_to_printable(s):
 if is_printable(s):
  return s
 return ''.join((convert_char(c) for c in s))

def convert_to_printable ( s ) : if is_printable ( s ) : return s return '' . join ( ( convert_char ( c ) for c in s ) )
convert char to printable .