Python操做字典取Key对应的值

http://www.cnblogs.com/kaituorensheng/archive/2013/01/24/2875456.htmlhtml

d={'a':1,'b':2,'c':3}python

for  in  d.keys():
     print (i,d[i])
相关文章
相关标签/搜索