Python Post for the day – 7th October 2019

Basic operations

a=10
b=5

add = a+b
sub = a-b
mul = a*b
div = a/b
mod = a%b

print(add)
print(sub)
print(mul)
print(div)
print(mod)

 

Facebook Comments

Leave a Reply

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