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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started