Specified x values, epsilon accuracy. To compile a program for calculating the function y with an epsilon accuracy using recursive and iterative algorithms for solving the problem. Determine how many members of the series must be summed to achieve the specified accuracy (compare the result of the summation with the value of the standard function).

Here's what happened so far:
def NonRec(x, eps): s=1 term=1 i=0 while (abs(term) > eps): term=term*(x/(i+1)) s+=term i+=1 return s