Answer to Question #314142 in Python for junior

Question #314142

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”.


1
Expert's answer
2022-03-19T02:24:39-0400
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!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS