Python program to find the average of three numbers

0
19
a=int(input('Enter first number '))
b=int(input('Enter second number '))
c=int(input('Enter third number '))
avg=(a+b+c)/3
print('\n average of three number is \n', avg)

  Output:
   Enter first number 8
   Enter second number 10
   Enter third number 8

    average of three number is 
    8.666666666666666

 

 

 

write a python program to find the average of three numbers python program to find average of three numbers by getting input from user Python program to find the average of three numbers find the average of three numbers find the average of three numbers in python

LEAVE A REPLY

Please enter your comment!
Please enter your name here