Question: Consider the following code segment: if a == b : print(W) else : print(X) if b == C: print(Y) else : print(Z) If a is

Consider the following code segment: if a == b : print("W") else : print("X") if b == C: print("Y") else : print("Z") If a is 0, b is 1 and c is 1 then the output generated by this code segment is: Select one: 0 W 0 O x followed by y on the next line O x followed by z on the next line
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
