To Find Sum of Squares

 t=int(input("enter the number: "))

s=t*(t+1)*(2*t+1)/6

print("The Sum of squares are %d"%(s))