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
0
Explanation:
njs sudjstsheyej eus usnss hs shsbsjndjskdkd
Answered by
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
Science,
6 hours ago
Computer Science,
6 hours ago
Physics,
6 hours ago
Social Sciences,
11 hours ago
English,
11 hours ago
Science,
8 months ago