![]() |
1
4
|
![]() |
2
3
您可以使用如下自定义比较函数对其进行排序:
|
![]() |
3
2
你可以使用 sorted 具有 operator.itemgetter 要使用“得分”值作为键:
|
![]() |
4
1
假设你的
意志输出
|