Question #243303

  1. Write a program to determine and display the greater of two numbers.


‣ Inputs: Two unknown numbers <num1>, <num2>

‣ Output: num1 or num2, whichever is greater


Expert's answer

print(max(map(int, input().split(', '))))

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