Computers and Technology

Write a program that creates a dictionary containing the U. S. states as keys, and their capitals as values, by reading data from the provided state_capitals. txt file. 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. Answers should not be case sensitive. When the user enters 0, the quiz should stops and report the results.

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 24.06.2019 00:00, BluedragonKBT44
The gene form of a trait is called a(n) 
Answers: 2
image
Computers and Technology, 24.06.2019 05:30, lexie2751
How do i get rid of my member ship for
Answers: 2
image
Computers and Technology, 24.06.2019 12:00, elainnysanchez1541
How can we take picture in this app
Answers: 1
image
Computers and Technology, 24.06.2019 17:50, jones03riley
You work in the accounting department and have been using a network drive to post excel workbook files to your file server as you complete them. when you attempt to save a workbook file to the drive, you see the error message: “you do not have access to the folder ‘j: \’. see your administrator for access to this folder.” what should you do first
Answers: 2
Do you know the correct answer?
Write a program that creates a dictionary containing the U. S. states as keys, and their capitals as...

Questions in other subjects:

Konu
Mathematics, 23.11.2019 21:31