CBSE BOARD X, asked by l9547555067, 13 hours ago

Write a python program which takes three numbers as input from the user, finds their average and also the square root of that average value​

Answers

Answered by keshavkumarjha876
2

Answer:

# Python program to find average of three numbers

# take inputs

num1 = 3

num2 = 5

num3 = 14

# calculate average

avg = (num1 + num2 + num3)/3

# display result

print('The average of numbers = %0.2f' %avg)

Explanation:

Average Formula = Total sum of all numbers / Number of item in the set

Mathematically,

Inputs: a=2, b=5, c=8

Average = (a+b+c)/3 = (2+5+8)/3 = 15/3 = 5

Similar questions