Question: CHALLENGE ACTIVITY 3 . 5 . 1 : Dictionary basics. 5 4 7 0 1 6 . 3 9 0 0 8 8 0 .

CHALLENGE
ACTIVITY
3.5.1: Dictionary basics.
547016.3900880.qx3zqy7
Jump to level 1
Dictionary food_quantity_pairs contains four key-value pairs. Read a string from input, representing a key found in food_quantity_pairs. Then, assign the value associated with the key read with the current value minus 3.
Click here for example
food_quantity_pairs 'eggs': 74, 'radishes': 32, 'peaches': 78, 'peppers': 56
 CHALLENGE ACTIVITY 3.5.1: Dictionary basics. 547016.3900880.qx3zqy7 Jump to level 1 Dictionary

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!