现有的函数以下结尾,其中d是字典:
d
return d.iteritems()
返回给定字典的未排序迭代器.我想返回一个遍历按键排序的项目的迭代器.我怎么做?
python sorting dictionary
dictionary ×1
python ×1
sorting ×1