Question: Assume that you are a computer programmer at a company: A&B Inc. which was recently acquired by another company: ACME Corp. Both companies have some
Assume that you are a computer programmer at a company: A&B Inc.
which was recently acquired by another company: ACME Corp. Both companies have
some common clients, and they have monthly recurring orders from these clients. Luckily,
both companies store monthly order numbers in similar python dictionaries. Those
dictionaries need to be combined. You need to write a function that takes those two
dictionaries as input and returns combined order numbers as a dictionary again.
Hint: Combine both input dictionaries item by item into a new dictionary.
AnB orders E l i z&Co : A yla I n c : Swan Ltd :
Huan Inc : BB Ltd : E&A Inc :
ACME orders E vil Co r p : Moon Inc : A yla I n c :
Swan Ltd : MNM Ltd : E l i z&Co :
The return value should look like this:
com bi n e d o r d e r s E vil Co r p : Moon Inc : A yla I n c :
Swan Ltd : Huan Inc : MNM Ltd :
BB Ltd : E l i z&Co : E&A Inc :
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
