主页
Python
Python - 列表排序
demo_list_sort_num_desc
运行 ❯
×
更改方向
保存代码
更改主题
thislist = [100, 50, 65, 82, 23] thislist.sort(reverse = True) print(thislist)
[100,82,65,50,23]