用到了python中的sort函数。逆序排序a=[2,5,4]c=sorted(a,reverse=True)print(c)输出结果为:[5,4,2]顺序排序a=[2,5,4]b=sorted(a ...
確定! 回上一頁