jqlts1
7/24/2019 - 4:14 PM

判断字符串是不是中文.py

def isAllZh(s):
  for c in s:
    if not('\u4e00' <= c <= '\u9fa5'):
    return False
  return True