What are Python Operators?


Operators are symbols in Python that conduct arithmetic & logical calculations. The value on which the operator works is known as the operand.

For example:

9+3

12

Here, + is the operator that performs addition. 9 and 3 are the operands and 12 is the output of the operation.

Types of Operators in Python Programming

Python categorizes its operators into the following categories:

  • Arithmetic Operators
  • Assignment Operators
  • Comparison/Relational Operators
  • Logical Operators
  • Bitwise Operators
  • Special Operators: Identity and Membership Operators
  • Ternary Operators

Leave a Reply

Your email address will not be published. Required fields are marked *