<filename>basic_programs/14_sumofsqr_o1.py
def squaresum(n):
    return (n*(n+1)*(2*n+1))//6
print(squaresum(4))

<filename>basic_programs/14_sumofsqr_o1.py
def squaresum(n):
    return (n*(n+1)*(2*n+1))//6
print(squaresum(4))
