Question: python language Problem 1: Given: country = {'Qatar': 'Doha', 'Canada': 'Ottawa', 'UK': 'London', 'Kuwait': 'Kuwait City'} Create a program that analyzes the given dictionary named
Problem 1: Given: country = {'Qatar': 'Doha', 'Canada': 'Ottawa', 'UK': 'London', 'Kuwait': 'Kuwait City'} Create a program that analyzes the given dictionary named countries which maps countries to their capitals, then display as per the sample output. Sample output: The capital of Qatar is Doha The capital of Canada is Ottawa The capital of UK is London The capital of Kuwait is Kuwait City
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
