Q. Add a pair of parentheses to each expression so that it evaluates to True.

(a) 0 == 1 == 2

(b) 2 + 3 == 4 + 5 == 7

(c) 1 < -1 == 3 > 4


Answer:-

(a) 0 == (1 == 2)
(b) (2 + (3 == 4) + 5) == 7
(c) (1 < -1) == (3 > 4)

4 Comments

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

  1. But howw please tell the explanation

    ReplyDelete
    Replies
    1. At first solve the value under () parentheses bracket the replace True with 1 and False with 0 then slove it.

      Delete
  2. Thank you 👍👍👍

    ReplyDelete
  3. what is parenthesses

    ReplyDelete

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post