Question: I've provided you with a start dictionary called inventory. inventory = { ' croissant ' : 1 9 , 'bagel': 4 , 'muffin': 8 ,
I've provided you with a start dictionary called inventory.
inventory croissant: 'bagel': 'muffin': 'cake': #DON'T CHANGE THIS LINE!
Follow these instructions:
Make a copy of inventory and save it to a variable called stocklist using a dictionary method we've covered
Add the value to stocklist under the key "cookie" using dictionary methods
Remove 'cake' from stocklist using a dictionary method we've learned
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
