human
Sum of squares of first n natural numbers | Return the sum of square of first n natural numbers.
Driven Program"
Solution in Python:
assistant
#Here is code to sum of squares of first n natural numbers and the other steps required.
 def squaresum ( n ) :
	return ( n * ( n + 1 ) / 2 ) * ( 2 * n + 1 ) / 3
n = 4
print ( squaresum ( n ) ) ;