How can I sort strings of numbers in Python, in human-readable order?

前端 未结 0 668
萌比男神i
萌比男神i 2021-01-06 05:52

When I use the sort() or sorted() function in Python on a list such as [\'1\', \'10\', \'2\', \'3\', \'4\', \'100\'], I get the result

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