python And operator:
- The python And operator is one of the logical operators.
- In And operator, if both the operands are true then it returns true, otherwise false.
- And operator is applicable for boolean type and non-boolean type.
- For example: 1 And " a" then the result is "a".
- It is represented by the "&" symbol.
- It is written as x &y
syntax:(a&b).
No comments