write a python program for accepting three numbers from the user and adding them
Answers
Answered by
3
Explanation:
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.
Answered by
1
Answer:
// a python program for accepting three numbers from the user and adding //them and showing the output.
x=eval(input("enter the first number"))
y=eval(input("enter the second number"))
z=eval(input("enter the third number"))
sum=x+y+z
print(" The sum of",x,",",y,"and",z, "is",sum)
Similar questions
English,
2 months ago
Math,
2 months ago
Math,
4 months ago
Computer Science,
10 months ago
English,
10 months ago
World Languages,
10 months ago