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