Question: Python X=5,Y=7,Z=10 A. if(X

Python X=5,Y=7,Z=10

A. if(X

print "LESS"

else:

print "OTHER"

B.

if (x == 1): print "ONE"

elif (x == 2): print "TWO"

elif (x == 3): print "THREE"

elif (x == 4): print "FOUR"

elif (x == 5): print "FIVE"

elif (x == 6): print "SIX"

else: print "OTHER"

C.

if (X

print X

X = X + 1

D.

while (X

print X

X = X + 1

Q9. What is the final value of X in D

Q11. What is the final value of X in D

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!