Question: 5 4 7 1 4 8 3 1 5 4 6 4 2 q 4 3 2 9 y 7 Jump to level 1 Dictionary
q
Jump to level
Dictionary foodquantitypairs contains four keyvalue pairs, each representing a food name and the quantity needed. Read a food name from input. Then, output the corresponding quantity from foodquantitypairs. Finally, delete that pair from foodquantitypairs.
Click here for example
foodquantitypairs 'lemons': 'cookies' : 'peppers': 'pickles':
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
