python3合并多个字典 发表于 2019-04-11 | 分类于 python | 阅读次数: 字数统计: 47 | 阅读时长 ≈ 1 123456789from collections import Countera = {'x': 1, 'z': 3}b = {'y': 2, 'z': 4}d = {'x': 1, 'z': 5}c = sum(map(Counter, [a, b, d]), Counter())print(dict(c))