CBSE Class 11 Computer Science Question 143 of 173

Data Handling — Question 32

Back to all questions
32
Question

Question 19d

What will be the output produced?

w, x, y, z = True , 4, -6, 2
result = -(x + z) < y or x ** z < 10
print(result)

Answer

Output
False
Explanation

    -(x + z) < y or x ** z < 10
⇒ -(4 + 2) < -6 or 4 ** 2 < 10
⇒ -6 < -6 or 4 ** 2 < 10
⇒ -6 < -6 or 16 < 10
⇒ False or False
⇒ False

Answer