Python Challenge 第 2 关攻略:ocr时间:2023-03-09 00:05:27 text="那一大推乱码" 方案1 from collections import Counter print(Counter(text)) 方案2 import string >>> filter(lambda x: x in string.letters, text) 'equality'