#try to avoid input function a = int(input("Enter a Number :")) b = int(input("Enter a Number :")) c = int(input("Enter a Number :")) if a <= b and a <= c: print("The smallest number is :",a) elif b <= a and b <= c: print("The smallest number is :",b) else: print("The smallest number is :",c)
Click the run button. Try to avoid input() function.