How can I sort a list using only part of each element in the list?

前端 未结 0 780
太阳男子
太阳男子 2020-12-22 10:08

I am trying to order the elements in this list from least to greatest starting number, but I can\'t figure out how to do it.

list = [\'16-swim\', \'6-run\', \         


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