num1 = float(input("Enter the first number: "))
num2 = float(input("Enter the second number: "))
num3 = float(input("Enter the third number: "))
if num1 <= num2 and num1 <= num3:
print("The smallest number is:", num1)
elif num2 <= num1 and num2 <= num3:
print("The smallest number is:", num2)
else:
print("The smallest number is:", num3)
#source code --> clcoding.com
Code Explanation: