🌈 搜索
📅  最后修改于: 2022-03-11 14:48:30.779000             🧑  作者: Mango
>>> lis = [[1,4,7],[3,6,9],[2,59,8]] >>> sorted(lis, key=lambda x: x[0]) [[1, 4, 7], [2, 59, 8], [3, 6, 9]]