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

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

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!