Sort dictionary by the number of words in each key

前端 未结 0 671
有刺的猬
有刺的猬 2021-02-01 05:10

I am new to python and I wonder if there is a way to sort the key depend on number of words in each key of a dictionary. For example I have a dictionary like below:



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