## Python Operators

Python operators are used for operations like when we have to do anything plus then we use + operator.

Example:

``````print(20 + 5)
``````

Operators are divided into different types in Python

• Arithmetic operators
• Assignment operators
• Comparison operators
• Logical operators
• Identity operators
• Membership operators
• Bitwise operators

## Python Arithmetic Operators

Arithmetic operators are used for normal mathematical

## Python Assignment Operators

Assignment operators are used to assign values to variables:

## Python Comparison Operators

Comparison operators are used to compare two values:

## Python Logical Operators

Logical operators are used to combining conditional statements:

## Python Identity Operators

Identity operators are used to comparing the objects, not if they are equal, but if they are actually the same object, with the same memory location:

## Python Membership Operators

Membership operators are used to testing if a sequence is presented in an object:

## Python Bitwise Operators

Bitwise operators are used to compare (binary) numbers: