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