This is lab #2
This program allows the user to put in two numbers and it will display the results of the two numbers answers in addition, subtraction, division and multiplication.
———————————————————————————–
numStr = raw_input(‘Please enter first number: ‘)
x = int(numStr)
numStr2 = raw_input(‘Please enter second number: ‘)
y = int(numStr2)
print x,’plus’,y,’equals’,x + y
print x,’times’,y,’equal’,x * y
print x,’divided by’,y,’equals’,x / y
print x,’subtracted by’,y,’equals’,x – y