📅  最后修改于: 2022-03-11 14:46:11.782000             🧑  作者: Mango
##Write a Python program to input 3 numbers and find the largest.
##Print all the numbers, and the largest among them, with appropriate titles.
n1=float(input("Enter number 1: "))
n2=float(input("Enter number 2: "))
n3=float(input("Enter number 3: "))
if n1 > n2 :
if n1 > n3 :
LNo=n1
else :
LNo=n3
else :
if n2 >n3 :
LNo=n2
else :
LNo=n3
print("DISPLAY........")
print("Number 1 : ",n1)
print("Number 2 : ",n2)
print("Number 3 : ",n3)
print("Largest number is : ",LNo)