Python Language Arithmetic Operator
In this tutorial, you will learn about Arithmetic Operator in Python programming those are part of the Python script.
Python language provides wide range of operators, but In this tutorial let learn Arithmetic operators.
Lets first define what is operator,Operand and Expression ?.
Operator:
Operator is a symbol that is used to perform some action on operands.
They can be used in programs to define expressions and mathematical formulas.
Arithmetic Operator:
The Python arithmetic operators are the symbols that are used to perform mathematical operations on operands.
Before to start Arithmetic operators let understand what is Operands and expression?
Operand: A variable or a constant over which the operation has to be performed.
Expression:
In computer science an expression is a particular concept in which a number of variables or constants, and operators and functions, are put together in a single statement that is acted on by a particular programming language.
In Python Language An expression is a combination of operands and operators it process and computes a value stored in a variable. The operator performs actions on operands.
Arithmetic operators in Python language is also called as Python binary arithmetic operator.
The Python arithmetic operator’s operator work on two operands.
Python provides 5 Binary Arithmetic Operators. An arithmetic operator performs mathematical operations such as addition, subtraction, multiplication, division,modulus or remainder etc. on numerical values (constants and variables).