Robotics & Artificial Intelligence

From the following, which is not a comparison operator in Python?

  1. ==
  2. !=
  3. >=
  4. <>

Python Control Flow

1 Like

Answer

<>

Reason — In Python, the valid comparison operators include ==, !=, and >=. The symbol <> is not a comparison operator in Python.

Answered By

1 Like


Related Questions