Mathematical Operators

Mathematical Operators is useful in python to perform the calculation.

[su_table]
+ Addition
Subtraction
* Multiplication
/ Division
% Modulus
// Integer Division
** Power
[/su_table]
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))

i have attached the video link below. which will do this tutorials step by step.

Leave a Comment

Your email address will not be published. Required fields are marked *

4 × three =