Thinking in code · Working through a list

Putting patterns together: the average

A grade average needs a total, a count and one division, plus a plan for the day the list is empty.