前言 python3 下,利用 reduce 函数实现。 需求如下 对于如下对象列表: [ { 'name':'black','foo':123}, { 'name':'black','foo':456<