Question: 8 . 1 2 . 2 : Dictionaries. 5 6 8 8 4 4 . 4 2 2 8 2 7 4 . q 3

8.12.2: Dictionaries.
568844.4228274.q3zqy7
Perform the following tasks:
Create a dictionary named color_dict containing key-value pairs 'red': 127, 'green': 255, and 'blue': 0.
Read strings key_read and value_read from input.
Add key_read and value_read as a new key-value pair to color_dict with key_read as the key and value_read as the value.
Click here to show example
 8.12.2: Dictionaries. 568844.4228274.q3zqy7 Perform the following tasks: Create a dictionary named

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!