This Program will prompt the user two integers numbers with any decimal point.
We going to be adding, dividing,multiplying and Subtraction with Remainder.
#Lab 2
#
inputStr = raw_input(‘Please enter 1st number: ‘)
A= int(inputStr)
inputStr2= raw_input(‘Please enter a 2nd number: ‘)
B = int(inputStr2)
print (‘When you Add’),A,(‘ Plus ‘),B,(‘ you get: ‘),A + B
print (‘When you Subtract’),A,(‘ And ‘),B,(‘ you get: ‘),A – B
print (‘When you Multiply ‘),A,(‘ Times ‘),B,(‘ you get: ‘),A * B
print (‘When you Divide’),A,(‘ And ‘),B,(‘ you get: ‘),A / B
print (‘With a Remainder of:’), A % B