Question: Type the program's output # New means new compared to previous level provincial capitals = { 'Yukon': 'Whitehorse', 'Alberta' : 'Edmonton', 'Nunavut' : Iqaluit', 'Manitoba':

Type the program's output \# "New" means new compared to previous level provincial capitals = \{ 'Yukon': 'Whitehorse', 'Alberta' : 'Edmonton', 'Nunavut' : Iqaluit', 'Manitoba': 'Winnipeg' province name = input() while province_name != 'exit': if province name in provincial_capitals: print (provincial_capitals[province_name]) del provincial_capitals[province_name] \# New line else: provint('x') name = input()
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
