Computer Science, asked by hayatsinan019, 5 months ago

write a program to input 3 numbers and print the largest of them​

Answers

Answered by TheDeadlyWasp
2

Explanation:

Source Code:

# Python program to find the largest number among the three input numbers.

# take three numbers from user.

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

Hope it helps...

Similar questions