标签:style blog io color for sp div on log
#字典值相加 def union_dic(*objs): _keys = set(sum([obj.keys() for obj in objs],[])) _total = {} for _key in _keys: _total[_key] = sum([obj.get(_key,0) for obj in objs]) return _total
标签:style blog io color for sp div on log
原文地址:http://www.cnblogs.com/iwangzc/p/4064410.html