Question:

Assuming python 2.x, what gets printed?

x = 0
y = 1

a = cmp(x,y)
if a < x:
    print "a"
elif a == x:
    print "b"
else:
    print "c"

Answers:


Keywords:

© 2017 QuizBucket.org