human
Sum of Series ( n ^ 2 | function that calculate the sum of the nth series.
Using formula of the nth term.
Driver function"
Solution in Python:

Write me a code to sum of Series ( n ^ 2 and the other steps required?
assistant
#Here is code to sum of Series ( n ^ 2 and the other steps required.
 def sum_series ( n ) :
	nSquare = n * n
	return int ( nSquare * ( nSquare - 1 ) / 4 )
n = 2
print ( sum_series ( n ) )