In this tutorial, we are going to learn about the operators in Python programing language.
Operators are symbols used in Python programming language which directs the computer to perform certain mathematical or logical operations. Operators are used to manipulate data and variables. Generally, they form a pattern of mathematical or logical expressions.
What are Operands in Python?
Operands are the data items on which the operators act upon. Variables and Identifiers are operands and symbols like +, -, / are operators.
Types of Operators
Generally, there are four types of operators in Python :
- Arithmetic Operator
- Relational Operator
- Logical Operator
- Bitwise Operator