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