# 判断字符是否为中文
def is_chinese(ch):
if u'\u4e00' <= ch <= u'\u9fff':
return True
else:
return False
判断字符是否为中文
Comments 0
Sign in to comment and like
← More postsThat’s all for now. Thanks for reading.
# 判断字符是否为中文
def is_chinese(ch):
if u'\u4e00' <= ch <= u'\u9fff':
return True
else:
return False
Sign in to comment and like
No comments yet.