Question: Three integers are read from input into variables red _ channel, green _ chanel and blue channel. Create a dictionary named color _ code containing

Three integers are read from input into variables red_channel, green_chanel and blue channel. Create a dictionary named color_code containing the following key-value pairs:
Key 'R' with the value red_channel
Key 'G' with the value green_channel
Key 'B' with the value blue_channel
CHALLENGE
ACTIVITY
3.5.1: Dictionary basics.
546646.1230224.932097
Jump to level 1
Three integers are read from input into variables red_chaninel, green_channel, and blue_channel. Create a dictionary named color_code containing the following key-value pairs:
Key 'R' with the value red_channel
Key 'G' with the value green_channel
Key 'B' with the value blue_channel
Click here for example
 Three integers are read from input into variables red_channel, green_chanel and

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!