series.py

Corrected series.py to correctly handle an input of 0 for all three functions.