Lab 2

this is lab 2

screenshot:

Sources:

a = raw_input(‘please enter your first number’)
b = int(a)
c = raw_input(‘please enter your second number’)
d = int(c)

print ‘when you add’,b,’to’,d,’you get’,b+d
print ‘when you subtract’,b,’from’,d,’you get’,b-d
print ‘when you multiply’,b,’and’,d,’you get’,b*d
print ‘when you divide’,b,’by’,d,’you get’,b/d,’remainder’,b%d