Computer Science, asked by Varshini2593, 8 months ago

Write a program to print the following series. [5] 1 + 4 + 9 + 16……. 100 = ?

Answers

Answered by bktbunu
1

Explanation:

sum = 0

for i in range(100):

sum = sum + (i+1)**2

print("The sum of the seies = ", sum)

Similar questions