python 修改词典

 

def f(d):
  d['xx']="d"
  d['a']=4
d={'a':55}
f(d)
 

 

 

 

 

posted @ 2023-07-25 17:09  papering  阅读(3)  评论(0编辑  收藏  举报