Computer Science, asked by heerparmar2005, 11 hours ago

write a Python program to find the sum of the following series 1/2 + 3/4 - 5/6 + 7/8 - 9/10....n​

Answers

Answered by ashok5456
0

Explanation:

njs sudjstsheyej eus usnss hs shsbsjndjskdkd

Answered by kaursukhmanpreet2005
1

answer : 12 + 32 + 52 + ….. + n2  Python

explanation: n = (Enter the value of n: )

i = 1

sum = 0

while i <= n :

sum += i

2 i += 2

OUTPUT

Enter the value of n: 9 Sum = 165

Similar questions