diff options
Diffstat (limited to 'progs/a220.py')
-rw-r--r-- | progs/a220.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/progs/a220.py b/progs/a220.py new file mode 100644 index 0000000..6db4614 --- /dev/null +++ b/progs/a220.py @@ -0,0 +1,4 @@ +import collections as ct
+def merge_dictionaries(dict1,dict2):
+ merged_dict = dict(ct.ChainMap({}, dict1, dict2))
+ return merged_dict
\ No newline at end of file |