Operators in Python

To do different kind of operation, you will find different types of operators in all programming languages. Operators are used to perform operations on variables and values.

Python has seven types of operators as follows:

Serial Operator Type Description
1 Arithmetic operators These are used to do arithmetic operations among variables
2 Assignment operators These are used to assign values to variables
3 Comparison operators These are used to compare two values
4 Logical operators These are used to combine conditional statements
5 Identity operators These are used to compare the objects as same or not
6 Membership operators These are used to test if a sequence presence in an object
7 Bitwise operators These are used to do binary operation

Click in each type of operator to know more details about the operator.

In this tutorial, I have shown all operators in Python. Hope you have enjoyed the tutorial. If you want to get updated, like my facebook page http://www.facebook.com/freetechtrainer and stay connected.

Add a Comment