Create a dictionary that maps countries to their capitals. You may start with an empty dictionary. Ask the user to input the name of the country and its capital and add them to the dictionary. For...


Create a dictionary that maps countries to their capitals. You may start with an empty dictionary. Ask the user to input the name of the country and its capital and add them to the dictionary.


For example, Capitals = { ‘Argentina’:‘Buenos Aires’, ‘France’:‘Paris’, ‘US’:‘Washington D.C.’}


Once the dictionary is created, print the capitals in alphabetical order

Nov 25, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here