1.

Write a program for python to print the sum of : 1+X/2!+X^2/3!+.....+X^N/(N+1)!

Answer» s=0x=int(input(\'enter the number\'))for i in range(1,x+1): s+=(x**x)/(x+1)print(\'sum is\',s)


Discussion

No Comment Found