Different types of Operators:
Python divides the operators in the following groups:
1) Arithmetic operators
2) Assignment operators
3) Comparison operators
4) Logical operators
5) Identity operators
6) Membership operators
Here are the detailed information of each operators:
1) Arithmetic Operators:
Arithmetic operators are used with numeric values to perform common mathematical operations.
2) Assignment Operators:
Assignment operators are used to assign values to variables.
3) Comparison Operators:
Comparison operators are used to compare two values.
4) Logical Operators:
Logical operators are used to combine conditional statements.
5) Identity Operators:
Identity operators are used to compare the objects, not if they are equal, but if they are actually the same object, with the same memory location.
6) Membership Operators:
Membership operators are used to test if a sequence is presented in an object.