subject

On python a. Create a dictionary with 5 to 10 key-values so that state is the key and its capital is the value. Print the dictionary and its length.
b. Create and print a list of states and a list of capitals.
c. Ask the user for a state's name. Check to see if the state's name exists in the list of states. If it does, look up the state's name in the dictionary and print out its capital. If it doesn't notify the user.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 18:10
In mathematics and computer science, a set is a collection in which order does not matter and there are no duplicates. in this problem, we are going to to define a class which wil allow us to create an object to represent a set of integers. you will write a program set.java to define the class set. each instance of the class set will be an object representing a set of integers.
Answers: 3
question
Computers and Technology, 21.06.2019 22:30
This isn’t really school related, but like where the heck can you find manga, to read to where you don’t have to pay money, for points? my friend wants me to read bj alex, and i can’t find it anywhere for free.
Answers: 2
question
Computers and Technology, 22.06.2019 03:30
Identify at least three types of characteristics that you were asked about as you the computer identify a fruit.
Answers: 3
question
Computers and Technology, 22.06.2019 11:30
Awell-diversified portfolio needs about 20-25 stocks from different categories is this true or false?
Answers: 2
You know the right answer?
On python a. Create a dictionary with 5 to 10 key-values so that state is the key and its capital i...
Questions
question
Mathematics, 25.11.2020 18:20
question
Biology, 25.11.2020 18:20
question
Physics, 25.11.2020 18:20
question
Mathematics, 25.11.2020 18:20
question
Mathematics, 25.11.2020 18:20
question
Mathematics, 25.11.2020 18:20
Questions on the website: 13722367