Write a PYTHON program to find sum of the series
1 - X+ x2 - x3+.......xn
Answers
Answered by
3
Answer:
x = float (raw_input (“Enter value of x :”))
n = int (raw_input (“Enter value of n :”))
s = 0
for a in range (n + 1) :
s + = x**a
print “Sum of series”,s
Explanation:
i think it is right
hope u like
Similar questions
Hindi,
3 months ago
Science,
6 months ago
Social Sciences,
6 months ago
English,
1 year ago
English,
1 year ago