python 进行字典相加运算

a={1:2,3:4}
b={1:22,3242:2342}
print(a|b)

posted on 2024-07-08 15:12  张博的博客  阅读(54)  评论(0)    收藏  举报

导航