Identify the logical operator used in Python out of the following.

2023

Identify the logical operator used in Python out of the following.

  1. A.

    and

  2. B.

    in

  3. C.

    <=

  4. D.

    +=

Attempted by 2678 students.

Show answer & explanation

Correct answer: A

'and' is a logical operator in Python used to combine conditional expressions.

Explore the full course: Rssb Senior Computer Instructor