摘要: 代码实现如下: def merge_dicts(*dict_args): result = {} for item in dict_args: result.update(item) return result x1 = {'a':1, 'b':2} y1 = {'b':4, 'c':5} x2 = 阅读全文
posted @ 2021-10-27 15:37 lucky_tomato 阅读(691) 评论(0) 推荐(0) 编辑