What is an operator?
The main description of the Python operator. To give a simple example 1+5 = 6 . In the example, 1 and 6 are called operands, and the "+" number is the operator.
The Python language supports the following types of operators:
- Arithmetic operators
- Compare (relational) operators
- Assignment operators
- logical operators
- Bitwise operators
- Member operators
- Identity operator
- Operator Precedence
Python arithmetic operators
The example demonstrates the operation of all Python arithmetic operators:
Python comparison operators
Python assignment operator
Python logical operators
Python member operators
Python identity operator
the identity operator is used to compare the storage units of two objects
Python operator Precedence
The following table lists all the operators from highest to lowest priority:
So far!!!!!!!!!
Python "First day (Getting started 002) operator"