popexizhi
富足,平衡,接受自己,三斗计划,享受心流的乐趣
html tool
2018年11月14日星期三
python dictA + dictB
http://www.runoob.com/python/att-dictionary-update.html
【popexizhi: 这个可以完成 a = a + b 的功能】
Python 字典(Dictionary) update() 函数把字典dict2的键/值对更新到dict里。
语法
update()方法语法:
dict
.
update
(
dict2
)
没有评论:
发表评论
较新的博文
较早的博文
主页
订阅:
博文评论 (Atom)
没有评论:
发表评论