🌈 搜索
📅  最后修改于: 2022-03-11 14:46:53.356000             🧑  作者: Mango
from collections import OrderedDict dd = OrderedDict(sorted(d.items(), key=lambda x: x[1])) print(dd)