The symbols that trigger the operation / action on data, are called operators. The operations (specific tasks) are represented by Operators and the objects of the operation (s) are referred to as Operands.
|Adds values of its two operands.|
|Subtracts the value of right operand from left operand.|
|Multiplies the values of its two operands.|
|/||Division||60/5||12||Divides the value of left operand with the value of right operand and returns the result as a float value.|
|%||Modulus (pronounced mo-du-lo) or Remainder||60%5|
|Divides the two operands and gives the remainder resulting.|
|//||Floor division||7.2 // 2||3.0||Divides and truncates the fractional part from the result.|
|**||Exponentiation (Power)||2.5 ** 3||15.625||Returns base raised to power exponent. (2.53 here).|
Python has an assignment operator = which assigns the value specified on RHS to the variable / object on the LHS of = Python also offers augmented assignment operator.
a =a + b
You may write
a += b
To add value of a to value of b add assign the result to b, you may write
b += b #instead of b =b + a