Answer:
The Proper codes in Line a and Line b is given below
average=Sum/3
print (" Average is = ", average)
Step-by-step explanation:
In the given question it calculated the sum but the program does not calculate the average of the 3 numbers.The average of the 3 number is calculated by using average=Sum/3 statement so we add this code in Line a then After that print the value of average by using the print function so we add this code in Line b.