Question: Q# 2 : ( 6 points ) Write a program that creates a dictionary containing the names of popular fruits as keys and their corresponding
Q#: points Write a program that creates a dictionary containing the names of popular fruits as keys and their corresponding colors as values. The
program should then quiz the user by displaying the name of a fruit and asking the user to enter its color. The program should keep a count of the number
of correct and incorrect responses. Note: forexample for bluberry, if the user answers blue, BLUE, or Blue, all of these should be considered correct
responses.
applered
bananayellow
orangeorange
grapepurple
strawberryred
kiwigreen
blueberryblue
watermelongreen
cherryred
pineappleyellow
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
