for i in d:
t = i + d[i]
for k,v in d.items():
t = k + v
for k,v in d.iteritems():
t = k + v
for k,v in zip(d.iterkeys(),d.itervalues()):
t = k + v </span>
python 字典(dict)遍历四种方法的性能
最新推荐文章于 2022-10-07 19:24:17 发布