python
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. (As an alternative to the U.S. states, the program can use the names of countries and their capitals.)
9 years ago 20
Answer(3)
Purchase the answer to view it
NOT RATED
- game.zip
Purchase the answer to view it
NOT RATED
- USCapitalsQuiz.zip
Purchase the answer to view it
NOT RATED
other Questions(10)
- BUS 107 Week 4 Assignment 2 - Starting a Business Online, Part 2
- Assignment 2 LASA 1 Legal and Ethical Leadership and Management
- Saint LEO MBA565 module 3 quiz latest 2016
- International and Domestic terrorism
- Strayer Bus325 Final Exam Part 1 & 2 (graded and all correct answers) A++++++
- A-7
- CRJ 499 WK 8 Discussion
- A 32.6 mL sample of hydrogen gas is collected over water using a technique known as water displacement. The temperature...
- Zeek the geek
- Introduction to Critical Thinking Part 2