math module contains a few aggregate
functions useful for calculating statistics. One example,
mean, is for calculating the arithmetic mean of a set.
Since this function belongs to the
math module, the
module name needs to be specified when calling it:
stddev_pop, are for calculating the
sample and population standard deviation, respectively.
var_pop allow for calculating
sample and population variance. Try them out: