Identify the logical operator used in Python out of the following.
2023
Identify the logical operator used in Python out of the following.
- A.
and
- B.
in
- C.
<=
- D.
+=
Attempted by 2678 students.
Show answer & explanation
Correct answer: A
'and' is a logical operator in Python used to combine conditional expressions.