Robotics & Artificial Intelligence

What would be the result of the following expression?

15 > 12 and 2 < 1

  1. True
  2. False
  3. Error
  4. None of these

Python Control Flow

1 Like

Answer

False

Reason — The expression contains the logical operator and, which returns True only if both conditions are true.

= 15 > 12 and 2 < 1
= True and False
= False

Answered By

1 Like


Related Questions