Operators

This lesson highlights the different types of operators in Python.

Operators are used to perform arithmetic and logical operations on data. They enable us to manipulate and interpret data to produce useful outputs.

Operators are represented by characters or special keywords.

In general, Python’s operators follow the in-fix or prefix notations.

In-fix operators appear between two operands (values on which the operator acts) and hence, are usually known as binary operators:

Get hands-on with 1200+ tech skills courses.