page contents

列表嵌套字典的排序,分别根据年龄和姓名排序?

轩辕小不懂 发布于 2022-05-17 10:55
阅读 535
收藏 0
分类:Python开发
3609
Nen
Nen
- 程序员

foo = [{"name":"zs","age":19},{"name":"ll","age":54},

        {"name":"wa","age":17},{"name":"df","age":23}]

attachments-2022-05-tUEJo1B9628310a447e92.png

请先 登录 后评论