Question: Two state and state code pairs are read from input. Define a function print _ state _ details ( ) that has two parameters and

Two state and state code pairs are read from input. Define a function print_state_details() that has two parameters and outputs:
'**', followed by the value of the first parameter and '**' on the first line.
'is ', followed by the value of the second parameter and "'s state code." on the second line.
print_state_details() should not return any value. ''' Your code goes here '''
state_code1= input()
my_state1= input()
state_code2= input()
my_state2= input()
print_state_details(state_code1, my_state1)
print_state_details(state_code2, my_state2)

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!