4 lines
191 B
Text
4 lines
191 B
Text
DefaultDict[String, Int] cnt
|
||
L(word) re:‘\w+’.find_strings(File(‘135-0.txt’).read().lowercase())
|
||
cnt[word]++
|
||
print(sorted(cnt.items(), key' wordc -> wordc[1], reverse' 1B)[0.<10])
|