Question: Perform the following tasks: Create a dictionary named color _ dict containing key - value pairs ' R ' : 1 9 0 , '

Perform the following tasks:
Create a dictionary named color_dict containing key-value pairs 'R': 190,'G': 190, and 'B': 190.
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.

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 Programming Questions!