Computer Science, asked by prishakapoor1831, 9 months ago

To find the sum of squares of the first 100 natural numbers in python

Answers

Answered by varun000
26

Answer:

The task is to find 1^2 + 2^2 + 3^2 + ….. + 100^2.

def squaresum(n) :

sm = 0

for i in range(1, n+1) :

sm = sm + (i * i)

return sm

n = 100

print(squaresum(n))

Answered by nikita031
7

Answer:

yrr Muja bhi answer nhi Mila

Explanation:

I really want this

Similar questions