InterviewSolution
Saved Bookmarks
| 1. |
How can I write a Python program to find the sum of the this series: - X - X**2/2! + X**3/3! - X**4/4! + X**5/5! - X**6/6!bhai jaldi se kar do please |
|
Answer» "The question asked needs a PYTHON coding in order to get the result. The python program to find the sum of the GIVEN series is given below. X = int(raw_input(""ENTER the value for x:"")) j = int(raw_input(""Enter The value for j:"")) Sum = 0 Fact = 1 Sign = 1 for i in RANGE(1,x+1): for i in range(1,j+1): Fact = Fact*1 Sum += (Sign*(X**i)/Fact*j " |
|