Write a program that asks the user to enter two integers, obtains the numbers from the user, then prints the larger number followed by the words “is larger”. If the numbers are equal, print the message “These numbers are equal”.
n = int(input(''))
m = int(input(''))
print(n + m)
print(n - m)
print(n * m)
print(n % m)
print(n ÷ m)
Comments
Leave a comment