Python sorting a list to get all lowercase alphabet words before uppercase

前端 未结 0 991
执念已碎
执念已碎 2020-11-28 04:11

I have followed this link and tried various probabilities to get the desired output

sorted([\'aa\', \'bb\', \'_dd\', \'BB\', \'AA\'])
[\'AA\', \'BB\', \'_dd\'         


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