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.

computer science

Description

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 abbreviations the user missed. Display the number of correct and incorrect responses each round. Ask the user if they want to keep playing each round. When they say they want to stop playing, display the missed abbreviations. You should include the following: Mainline logic and functions Error handling - this is pretty light for this lab, see the rubric below Appropriate comments and shebang line At least one dictionary.use PYTHON and make the code easy to understand.


Related Questions in computer science category