要对一个列表进行顺序,逆序排序,请问使用什么方法?

n = [5,6,78,9,3,0]
n.sort()
print(n)




n = [5,6,78,9,3,0]
n.reverse()
print(n)
原文地址:https://www.cnblogs.com/sunjingtao/p/10096972.html