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 statedict is a dictionary with states' name and code pairs. A new state is read from input and added into statedict. For each state in statedict, 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
