WABP to input three no and check
the smallest no out of three no
please say correct
Answers
Answered by
0
n1 = int(input("Enter first number = " )
n2 = int(input("Enter second number = ")
n3 = int(input("Enter third number = ")
if n1 < n2:
if n1<n3:
print(n1, " is the smallest number")
else:
print(n3, "is the smallest number ")
else:
print(n2," is the smallest number")
Similar questions