Question:

Which is the output of the following Python code fragment?

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)
else:
      print (4)

Answers:


Keywords:

© 2017 QuizBucket.org