摘要: def hans_count(str): hans_total = 0 for s in str: # 基本汉字 if '\u4e00' <= s <= '\u9fef': hans_total += 1 # 基本汉字补充 if '\u9FA6' <= s <= '\u9FFF': hans_tot 阅读全文
posted @ 2023-03-17 15:53 白云君 阅读(24) 评论(0) 推荐(0) 编辑