a= [11,9,8,4,5,6,7,8,1,2] a.sort(reverse=True) print(a) # 仅支持对list排序,会修改原list