Question 72

Identify the Logical Operator used in Python out of the following.

  1. Aand
  2. Bin
  3. C<=
  4. D+=
Show answerHide answer

Correct answer: (A) and

Explanation

and is a logical operator in Python (as are or and not). in is a membership operator, <= is relational and += is assignment.

From DSSSB TGT Computer Science Practice Set 2

This is question 72 of DSSSB TGT Computer Science Practice Set 2. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.