Operators provides a vital role in programming, and in combination with values and other identifiers form expressions and statements, which is also an important building block for Python programming.
Operators and Operands
Python operators are symbol that is used to perform mathematical or logical manipulations. Operands are the values or variables with which the operator is applied to, and values of operands can manipulate by using the operators.
Let us take a Scenario:
6 + 2=8, where there are two operands and a plus (+) operator, and the result turns 8.
Here a single operator is used to manipulate the values. The +, -, *, / and ** does addition, subtraction, multiplication, division & exponentiation respectively.
Types of Python Operators
Python programming language is rich with built-in operators.
0 Comments
If you have any doubts,please let me know