龙太子1314

2021年8月16日

python按照list中的字典的某key排序

摘要: 1、 python按照list中的字典的某key排序:s=[{"no":28,"score":90},{"no":25,"score":90},{"no":1,"score":100},{"no":2,"score":20},]print "original s: ",s# 单级排序,仅按照scor 阅读全文

posted @ 2021-08-16 20:08 while_true_work_hard 阅读(419) 评论(0) 推荐(0) 编辑

导航