Mathematical Operators is useful in python to perform the calculation.
+ | Addition |
– | Subtraction |
* | Multiplication |
/ | Division |
% | Modulus |
// | Integer Division |
** | Power |
print(3+2) print(3-2) print(3*3) print(9/3) print(10%3) print(14%3) print(9//3) print(14//3) print(15//3) print(3**3) print(2**2) print(5**3) print(3**5) print(pow(3,5))