PythiloLesson 3 of 15 · progress kept in this browser

Using the debugger

A debugger pauses your program at a line so you can read its variables, instead of guessing and adding prints.

Your task

moving_average(values, window) should return the mean of every consecutive run of window values. It has two bugs. Find them by stepping through moving_average([1, 2, 3, 4], 2), then fix them.

Next: Logging