1.字典遍历
d = {1:11,2:22}
for x in d:
print d[x]
for k,v in d.items():
print k
print v
python流程控制语法
原文:http://www.cnblogs.com/leconglee/p/5196931.html