# Python Program to Compute the Value of Euler's Number e. Use the Formula: e = 1 + 1/1! + 1/2! + …… 1/n! import mathn=int(input("Enter the number of terms: "))sum1=1for i in range(1,n+1):    sum1=sum1+(1/math.factorial(i))print("The sum of series is",round(sum1,2))