How does the accumulator pattern collapse a running sum into one tidy `for` loop — and where does an off-by-one `range` quietly bite?
Short drills on what this video just taught. Write the code, run the checks, and reveal the answer only if you are stuck.
The accumulator total is already started at 0 for you.
Use a for loop and the accumulator pattern to add up every integer from 0 through 9, leaving the result in total.