Computer Science, asked by chhavigarg845, 4 months ago

write a python program for accepting three numbers from the user and adding them​

Answers

Answered by arbeenarashid1
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 ankhidassarma9
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