Python sorted () 函数Python 内置函数描述sorted() 函数对所有可迭代的对象进行排序 ... 'B', 10)] >>> sorted(students, key=lambda s: s[2]) # 按年龄排序 [('dave', ...
確定! 回上一頁