- Operators are special symbols that are used to perform operations on the variables and the values.
- Consider an expression 10 + 20 = 30. Here, + is an operator that performs addition. 10 and 20 are called operands and 30 is the output of the operation.
- In general, the operand is a variable or a value that the operator operates on.
- The most commonly used operator groups in python language are listed below
- Arithmetic Operators
- Comparison/Relational Operators
- Logical Operators
- Assignment Operators
- Bitwise Operators
- Identity Operators
- Membership Operators
- Let's have a look at each operator with their syntax.