Question: Answer R 3 . 2 by setting x = 5 and y = 3 , copying over both blocks of code, adding print ( s
Answer R by setting x and y copying over both blocks of code, adding prints to the end of each block to see what is in the variable s and commenting what the difference is Also explain in a comment why you are getting different behavior from each section of code.
Explain the difference between
s
ifx:
ss
if y :
ss
And
s
ifx:
ss
elify:
ss
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
