accumulator pattern

using a loop to accumulate a result (e.g. a count, or sum)

TODO: Fill this in with a brief description of the accumulator pattern in Python.

Related Links