Question: num 1 = input ( ) num 2 = input ( ) num 3 = input ( ) if ( num 1 < num 2

num1= input()
num2= input()
num3= input()
if (num1< num2):
if (num1< num3):
smallest_num = num1
elif (num2< num1):
if (num2< num3):
smallest_num = num2
else:
smallest_num = num3
print(smallest_num)

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!