Python program to calculate sum of series [x - x^3 + x^5 + ...]

Prompt

Result