Set 132 Practical Question

⭐ Q34. श्रृंखला का योग निकालिए – X + X³/3! + X⁵/5! + … (n terms)

Example Code (Read Only):


s = 0
s += (x**i) / math.factorial(i)
x = int(input("Enter X: "))
n = int(input("Enter n: "))

Python Online Editor