Python Code:
Create a function named average that consumes a list
of numbers and returns their average by combining the Sum and Count
pattern:
average = sum / count
Call this function on the following list of numbers, which
represents the grades from a recent quiz: [10, 7, 10].