computation


Introduction
For computation, Python use states operators and their functions are depends on the object and its function.

x +y Addition
x-y Subtraction
x*y Multiplication
x/y Division
x//y Floor division
x**x Exponent

Example 1
Here in this example python, uses the math operators to calculate the value of variable a, b,c.
>>> a=44
>>> b=23
>>> c=56
>>> a+b
67


Example 2
Similarly, subtraction and multiplication function can be used to evaluate the multiplication functions.
>>> a+c
100
>>> c-b
33
>>> c/b
2.4347826086956523
>>> c*a
2464



Conclusion
Python does not deviate from by creating newer numeric operators but used the math convention to further the goals of computer programming. These are easy to operate and performs the functions according to object.
Comments