human
Program to find the sum of a Series ( 1 * 1 ) + ( 2 * 2 ) + ( 3 * 3 ) + ( 4 * 4 ) + ( 5 * 5 ) + ... + ( n * n ) | Function to calculate the following series.
Driver Code"
How can the above be solved in Python?

Write me a code to program to find the sum of a Series ( 1 * 1 ) + ( 2 * 2 ) + ( 3 * 3 ) + ( 4 * 4 ) + ( 5 * 5 ) +?
assistant
#Here is code to program to find the sum of a Series ( 1 * 1 ) + ( 2 * 2 ) + ( 3 * 3 ) + ( 4 * 4 ) + ( 5 * 5 ) + .
 def Series ( n ) :
	sums = 0
	for i in range ( 1 , n + 1 ) :
		sums += ( i * i ) ;
	return sums
n = 3
res = Series ( n )
print ( res )