ls1.sort(key=lambda obj:obj.get('a')) ... python中dict和list排序1、list排序 列表的排序是python内置功能,自身含有sort方法 如: >>> s=[2,1,3 ...
確定! 回上一頁