Question: Lesson 6 Lab Attached Files: StateAbbreviations.txt (720 B) This activity is worth 10 total points This week's Lab is: 1. Write a program that creates
Lesson 6 Lab Attached Files: StateAbbreviations.txt (720 B) This activity is worth 10 total points This week's Lab is: 1. 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: o Mainline logic and functions Error handling o Dictionaries A file is attached which contains the states and abbreviations to use as a reference if needed. You are to: 1. Work through this Lab on your own (no peer help on this onel) 2. Submit your own completed Lab file(s) here (click the link above) Lesson 6 Lab Attached Files: StateAbbreviations.txt (720 B) This activity is worth 10 total points This week's Lab is: 1. 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: o Mainline logic and functions Error handling o Dictionaries A file is attached which contains the states and abbreviations to use as a reference if needed. You are to: 1. Work through this Lab on your own (no peer help on this onel) 2. Submit your own completed Lab file(s) here (click the link above)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
