My Python Quiz

The ultimate place to learn Python!

Question #69: 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"