Python 5
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.)
7 years ago 40
Answer(2)
Purchase the answer to view it
NOT RATED
- PYTHON.docx
Purchase the answer to view it
NOT RATED
- Output.jpg
- USStates.py
other Questions(10)
- English
- Introduction to Microeconomics test
- valuation, timevalue ofmoney and stock exchange questions.
- Assignment 2: Miranda Rights
- Phase 3 IP
- KEY CONCEPTS OF LEADERSHIP PAPER
- Is any one able to do this?
- Response to Madam Geek!
- Can you do this homework for me? one is due tomorrow other is due later
- compensation management help