series.py mathematical series

Exceptions (SyntaxError, TypeError, NameError and AttributionError)