Question: # this program is intended to output the maximum value of two numbers # Which input will it fail to do this num 1 =

# this program is intended to output the maximum value of two numbers
# Which input will it fail to do this
num1= int(input('Please input the first number: '))
num2= int(input('Please input the second number: '))
if num1> num2:
print(num1)
if num2> num1:
print(num2)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!