Question: Q# 2 : ( 6 points ) Write a program that creates a dictionary containing the names of popular fruits as keys and their corresponding

Q#2: (6 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.)
apple-red
banana-yellow
orange-orange
grape-purple
strawberry-red
kiwi-green
blueberry-blue
watermelon-green
cherry-red
pineapple-yellow
Q# 2 : ( 6 points ) Write a program that creates

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