内置函数sorted()/list.sort()的使用. ###简单应用. python对list有一个内置函数:sorted(),专门用于排序。举例:. >>> a=[5,3,6,1,9,2] >>> sorted(a) #a经过sorted ...
確定! 回上一頁