After the loop hits break
Predict the output · Basic · §7.5 Changing the flow
Predict the output without running the code.
Code
scores = [72, 85, 40, 91, 66]
for s in scores:
if s < 50:
print("Stopped at", s)
break
print(s)Solve this problem in your browser
Python runs in your browser and checks your answer right away. Hints and the answer are on the problem page.