1# Python program to find the largest number among the three input numbers
2# take three numbers from user
3num1 = float(input("Enter first number: "))
4num2 = float(input("Enter second number: "))
5num3 = float(input("Enter third number: "))
6
7if (num1 > num2) and (num1 > num3):
8 largest = num1
9elif (num2 > num1) and (num2 > num3):
10 largest = num2
11else:
12 largest = num3
13
14print("The largest number is",largest)