Computer Science, asked by natashalovesyou, 1 day ago

Using while loop, print the sum of the series S= 1+ 4+ 9 +….n terms.

Answers

Answered by anushadaram
0

Explanation:

a=1

b=1

while b<=n:

print(a)

a=a+2

b=b+1

Similar questions