字典Key值为变量

 

m='aaa4a'
d = dict(name=m)
print d['name']

 

posted on 2018-03-16 18:39  momingliu11  阅读(1094)  评论(0)    收藏  举报