limit the number of results from collection counter in python?

后端 未结 0 2061

Is it possible to limit the number of results from when we use counter from collections in python

from collections import Counter
with open(r\'King.txt\') as f:
          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题