What are the logical operators of Python?
Answers
Answered by
7
HEY MATE HERE'S YOUR ANSWER ;
Python Logical Operators.
If both the operands are true then condition becomes true.
If any of the two operands are non-zero then condition becomes true.
Used to reverse the logical state of its operand.
Python Logical Operators Example
OperatorDescriptionand Logical ANDIf both the operands are true then condition becomes true.
Logical ORIf any of the two operands are non-zero then condition becomes true.
not Logical NOTUsed to reverse thelogical state of its operand
Similar questions