Estimate Euler's number with a given number of iterations

Exercise Type: Implementation

Instructions

Using our previous code to estimate Euler’s number e, write a function that executes this code, with a given number of iterations:

name Euler()
params n: number of iterations
return The estimate