subject

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.)

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 24.06.2019 09:30
Atype of researcher who uses computers to make sense of complex digital data
Answers: 1
question
Computers and Technology, 24.06.2019 10:20
Identify the publisher in this citation: carter,alan.a guide to entrepreneurship.new york: river’2008.print.
Answers: 3
question
Computers and Technology, 24.06.2019 12:40
Match the feature to the network architecture. expensive to set up useful for a small organization easy to track files has a central server inexpensive to set up difficult to track files useful for a large organization does not have a central server client- server network peer-to-peer network
Answers: 3
question
Computers and Technology, 25.06.2019 02:30
How to delete a question in
Answers: 2
You know the right answer?
Write a program that creates a dictionary containing the U. S. states as keys and their capitals as...
Questions
question
Mathematics, 18.03.2021 01:10
question
Mathematics, 18.03.2021 01:10
question
Physics, 18.03.2021 01:10
question
Mathematics, 18.03.2021 01:10
question
English, 18.03.2021 01:10
Questions on the website: 13722361