Computer Science, asked by adityarajput66, 7 days ago

write program to compare any 3 number in python​

Answers

Answered by technologydigital071
0

Answer:

num1 = float(input("Enter first number: "))

num2 = float(input("Enter second number: "))

num3 = float(input("Enter third number: "))

if (num1 > num2) and (num1 > num3):

largest = num1

elif (num2 > num1) and (num2 > num3):

largest = num2

else:

largest = num3

print("The largest number is",largest)

Answered by birenderbesra37
0

Answer:

ljxlhbx. hodlhxhlxlx. khxhlxhlx

Similar questions