def isprint(c):
 return (c in (((string.ascii_letters + string.digits) + string.punctuation) + ' '))

def isprint ( c ) : return ( c in ( ( ( string . ascii_letters + string . digits ) + string . punctuation ) + ' ' ) )
isprint(c) -> bool return true if a character is printable .