# Operators

0
32

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.

Arithmetic Operators

 Symbol Name Example Result Comment + Addition 6+55+6 1111 Adds values of its two operands. – Subtraction 6-55-6 1-1 Subtracts the value of right operand from left operand. * Multiplication 5*66*5 3030 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%56%5 01 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).

Assignment Operators

You may write

a += b

#### b += b                 #instead of b =b + a

Operators in python define operators in python operator in python python operators python operator