Question: Write Python program that will ask user for names of countries and their capitals and create a dictionary based on the data entered with country

Write Python program that will ask user for names of countries and their capitals and create a dictionary based on the data entered with country names being keys and capital names being values. Your program should display the dictionary entries as key value pairs, one pair per line. The entires can be displayed in any order. You need to allow user to enter as many countries and capitals as they wish.

---------------------------------------------------------------------------------------------------------------------------------------------

REMEBER ITS PYTHON FOR BEGINNNERS SO KEEP AS SIMPLE AS POSSIBLE

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!