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
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
Math,
7 hours ago
English,
7 hours ago
Social Sciences,
13 hours ago
Physics,
13 hours ago
English,
8 months ago