摘要: >>> s = txt.lower().split()>>> dd = {}>>> for word in s:... if word not in dd:... dd[word] = 1... else:... dd[word] = dic[word] + 1...>>> ss = sorted( 阅读全文
posted @ 2021-04-22 20:29 ohbigshit 阅读(54) 评论(0) 推荐(0) 编辑