Thursday, February 7, 2019

Addition, Subtraction, Multiplication, Division and Modulo - Python3

a=int(input('Enter 1st Number: '))
b=int(input('Enter 2nd Number: '))

print('Add: ',a + b)
print('Subtraction: ',a - b)
print('Multiplication: ',a * b)
print('Divide: ',a / b)
print('modulo: ',a % b)

ScreenShot

No comments:

Post a Comment