Lab 2

x=input (‘Please enter a number:’)
y=input (‘Please enter a second number:’)
print (‘The sum of the first and second number is:’,int (x)+int (y))
print (‘The difference of the first and second number is:’,int (x)-int (y))
print (‘The product of the first and second number is:’,int(x)*int(y))
print (‘The quotient of the first and second number is:’,int(x)//int(y))
print (‘and the remainder is:’,int(x)%int(y))

This program asks for two numbers and then displays the sum, difference, product, and quotient with a remainder of the two numbers.