Computer Science, asked by sanasona9008, 3 months ago

state about logical operators available in python language with example​

Answers

Answered by Anonymous
2

OPERATOR DESCRIPTION SYNTAX

and Logical AND: True if both the operands are true x and y

or Logical OR: True if either of the operands is true x or y

not Logical NOT: True if operand is false not x

Answered by pds39937
2

Python Logical OperatorsOperator Description Exampleand Returns True if both statements are true x < 5 and x < 10or Returns True if one of the statements is true x < 5 or x < 4

Python Logical OperatorsOperator Description Exampleand Returns True if both statements are true x < 5 and x < 10or Returns True if one of the statements is true x < 5 or x < 4not Reverse the result, returns False if the result is true not(x < 5 and x < 10

Similar questions