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)
LATEST TUTORIALS
APPROVED BY CLIENTS