def is_Chinese(word): for ch in word: if ‘\u4e00’ <= ch <= ‘\u9fff’: return True return False print(is_Chinese(“中文”))