Header Ads

Responsive Ads Here

Mathematical Operators in python


 # +, - , * , /, // , %, **

print(5+5)
print(5-5)
print(5*5)
print(5/5)
print(5/4)
print(5//4)
print(10%9)
print(2**3)


print((4 + 2) * 3)
print(5**2**2)  #Right to Left


print("hello " * 5)
Powered by Blogger.