Question: ( Python problem ) state _ dict is a dictionary with states' name and code pairs. A new state is read from input and added

(Python problem) state_dict is a dictionary with states' name and code pairs. A new state is read from input and added into state_dict. For each state in state_dict, output the state's name, followed by "'s code: ", and the state's code.
Click here for example
Ex: If the input is:
South Carolina
SC
then the output is:
Nevada's code: NV
Iowa's code: IA
Oklahoma's code: OK
Delaware's code: DE
Virginia's code: VA
South Carolina's code: SC

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!