0
4
Shortcut: dict.merge
dict.merge
0 Comments
def merge_two_dicts(dict1, dict2): new_dict = dict1.copy() new_dict.update(dict2) return new_dict