describe and use operator and expression in python
Answers
Answer:
In Python, operators are special symbols that designate that some sort of computation should be performed. The values that an operator acts on are called operands. A sequence of operands and operators, like a + b - 5 , is called an expression. Python supports many operators for combining data objects into expressions.
Answer:
the answer
Explanation:
Logical operators in Python are used for conditional statements are true or false. Logical operators in Python are AND, OR and NOT. For logical operators following condition are applied. 1. For AND operator – It returns TRUE if both the operands (right side and left side) are true 2. For OR operator- It returns TRUE if either of the operand (right side or left side) is true 3. For NOT operator- returns TRUE if operand is false