Python
The program will create a quiz that will ask for the capital of a random state. Your program will repeat so that a total of 5 random states are presented to the user
Write a program that creates a dictionary containing the U.S. states as keys, and their capitals asvalues. (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. (As an alternative to the U.S. states, the program can use the names of countries and their capitals.)
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here