A script in a different order from the cells

Predict the output · Medium · §12.1 Graduating from notebooks

This code worked in a notebook because the cell that creates followers and total had been run first. You copied the cells into report.py in order from top to bottom and ran it in the terminal. Predict the output.

Code

print("Follower summary")
print("Average:", total / len(followers))

followers = [150, 90, 210]
total = sum(followers)
print("Done")

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.