2.4 如何根据字典中值得大小,对字典中的项排序

{'lile':79,'jim':88}

z2 = sorted(dict.items(),key=lambda x:x[1])
原文地址:https://www.cnblogs.com/qianzi/p/6405000.html