Program Assignment

Write a program that creates a dictionary containing the U.S. states as keys and their capitals as values. (Use the Internet to get a list of the states and their capitals.) The program should then randomly quiz the user by displaying the name of a state and asking the user to enter that state’s capital. The program should keep a count of the number of correct and incorrect responses.

Extra Credit – 5 points Create a text file containing the states and capitals. Read this file into your program and store in a dictionary as stated above.

"Is this question part of your assignment? We can help"