Question: Python: When will the following loop terminate? while keep _ going ! = 9 9 9 : student = 1 while student < = 3

Python: When will the following loop terminate?
while keep_going !=999:
student =1
while student <=3:
total =0
for score in range(1,4):
score = int(input("Enter test score: "))
total += score
average = total/3
print("Student ", student, "average: ", average)
student +=1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!