Type of Operators
Types of Operator
Python language supports the following types of operators.
- Arithmetic Operators
- Comparison (Relational) Operators
- Assignment Operators
- Logical Operators
- Bitwise Operators
- Membership Operators
- Identity Operators
Operators are the constructs which can manipulate the value of operands.
Consider the expression 4 + 6 = 10. Here, 4 and 6 are called operands and + is called operator.
Python Assignment Operators
Assume variable a holds 10 and variable b holds 20, then −
[ Show Example ]
|
Type of Operators
Reviewed by ohhhvictor
on
May 04, 2019
Rating:
Reviewed by ohhhvictor
on
May 04, 2019
Rating:



No comments: