python合并两个字典时间:2025-02-13 20:36:441.借助dict(d1.items() + d2.items())的方法 2.借助字典的update()方法,没有返回值 3.借助字典的dict(d1, **d2)方法 4.d3={**d1,**d2},python3.5以上可用