jakobj/git-foss-workflow-lecture

Mean of empty list raises `ZeroDivisonError`

Opened this issue · 0 comments

Calculating the mean of an empty list raises a ZeroDivisionError
Code for reproduction:

l = []
mean(l)

This should be fixed.