摘要: 这道题主要用来熟悉python的用法以及学会了分词和count; 同时在编译后发现总会出问题的原因就是‘be’在text里没有出现,无法删除。 def getText (text): text = text.lower() # 改为小写 for ch in ",.;?-:\'": text = te 阅读全文
posted @ 2021-11-11 23:21 xuanxuan轩 阅读(246) 评论(0) 推荐(0)