Computer Science

What will be the output produced?

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

Python

Python Data Handling

22 Likes

Answer

False

Working

    -(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

Answered By

11 Likes


Related Questions