Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started