Question: This activity is worth 10 total points This week's Lab is: Write a program that creates a dictionary containing the U.S. states as keys and

This activity is worth 10 total points This week's Lab is:

Write a program that creates a dictionary containing the U.S. states as keys and their abbreviations as values. The program should then randomly quiz the user by displaying the abbreviation and asking the user to enter that state's name. The program should keep a count of the number of correct and incorrect responses, as well as which abbreviation the user missed. You should include the following:

Mainline logic and functions

Error handling

Dictionaries

A file is attached which contains the states and abbreviations to use as a reference if needed.

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!