write a python program to check the largest number among the three numbers.
x = input("Enter a Number :")
y = input("Enter a Number :")
z = input("Enter a Number :")
if(x>y) and (y>z):
l = x #l is used for to store a value
elif(y>x) and (y>z):
l = y
else:
l = z
print("\nLargest Number is :",l)
for execution and output so check the video.
Comments
Post a Comment