Q. What is the output of the following code?
Code:
x = True
y = False
z = False
if x or y and z:
print "TANMAY"
else:
print "tanmay"
β
Correct Answer: (A)
TANMAY
Explanation: (True or False) evaluates to True.