x1 = float(input(" Type in the first number ")) x2 = float(input(" Type in the second number ")) x3 = float(input(" Type in the third number ")) sum = x1+x2+x3 average=sum/3.0 print(" Sum = " , sum) print(" Average = " , average)