Operators In python
Operators in python are used to perform different operations on variables or values. That is basic arithmetic or a logical operation. Types of Operators: Arithmetic operators Comparison operators Logical operators Assignment operators Bitwise Operators Special Operators For example: >>> 2 + 3 5 In the above example, we have done an arithmetic operation between values 2 and 3 . The program output was 6 . Let us discuss different types of operators that are used in python.