For this assignment these were my instructions:

In this assignment you will estimate the mathematical constant e. You should create a function called calculuate_e which receives one parameter called precision that should specify the number of decimal points of accuracy.

You will want to use the infinite series to calculate the value, stopping when the accuracy is reached (previous and current calculation are the same at the specified accuracy).

This is what I came up with:

Captura de pantalla 2017-04-20 a la(s) 17.38.54.png

Captura de pantalla 2017-04-20 a la(s) 17.39.12.png