Question #314140

Write a program that asks the user to enter two numbers, obtains the two numbers from the user, and prints out the sum, product, difference, quotient, and remainder of the two numbers.


Expert's answer

n = int(input(''))
m = int(input(''))
print(n + m)
print(n - m)
print(n * m)
print(n % m)
print(n ÷ m)

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS