What Is Operators In Python | Python Operators

Operators 

An  is a symbol that perform some operation on operands and returns the result. 

Operators that take one operand, called as unary operators- i.e, minus (-) is an unary operator.

Operators that take two operands are called binary operators

Classifications 

There are various types of operators in Python.

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

Post a Comment

0 Comments