sort函数用法 a = [1,5,0,6,7] print (a) a.sort() print (a) 链接:https://jingyan.baidu.com/article/84b4f565a3c44260f7da326e.html