📅  最后修改于: 2022-03-11 14:46:51.748000             🧑  作者: Mango
# list_of_dictionaries contains a generic number of dictionaries
# having the same type of keys (str, int etc.) and type of values
global_dict = {}
for single_dict in list_of_dictionaries:
global_dict.update(single_dict)