#Write a program that reads grades for 5 students in the class and finds #the average grade. i=1 sum_grades=0 #initial value for accumulation variable while(i<=5): #i=1, 2, 3, 4, 5, condition i<=5 will be True and loop will #iterate 5 times grade=int(input("enter grade ")) sum_grades=sum_grades+grade #sum_grades+=grade i=i+1 #i+=1 average=sum_grades/5 print("average grade in the class is", average)