Question: Write a program in Python that creates a dictionary containing the U . S . states as keys and their abbreviations as values. The program

Write a program in Python 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. 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.
Please explain in details and follow direction. Thanks in advance.

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!