My Python Quiz

The ultimate place to learn Python!

Question #13: What gets printed?

x = True
y = False
z = False

if not x or y:
    print 1
elif not x or not y and z:
    print 2
elif not x or y or not y and x:
    print 3
    print 4