Printing list in desc order according to first character of string in python

前端 未结 0 1572
死守一世寂寞
死守一世寂寞 2020-11-28 02:07

I have a list with long strings in it.

mylist = [‘8 red cars’, ‘3 blue cars’, 11 black cars’]

I want it to print in desc order so:

<         


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