def graph6_to_data(string):
 v = [(ord(c) - 63) for c in string]
 if ((len(v) > 0) and ((min(v) < 0) or (max(v) > 63))):
  return None
 return v

def graph6_to_data ( string ) : v = [ ( ord ( c ) - 63 ) for c in string ] if ( ( len ( v ) > 0 ) and ( ( min ( v ) < 0 ) or ( max ( v ) > 63 ) ) ) : return None return v
convert graph6 character sequence to 6-bit integers .