def has_open_quotes(s):
 if (s.count('"') % 2):
  return '"'
 elif (s.count("'") % 2):
  return "'"
 else:
  return False

def has_open_quotes ( s ) : if ( s . count ( '"' ) % 2 ) : return '"' elif ( s . count ( "'" ) % 2 ) : return "'" else : return False
return whether a string has open quotes .