Subscribe Us

Adam’s Charity In Python

Adam’s Charity In Python


n=int(input())
sum=0
for i in range(1,n+1):
    sum=sum+(i**2)
print(sum)

Post a Comment

0 Comments