human
Program to print the Sum of series | calculate Nth term of series.
Driver Function.
Get the value of N.
Get the sum of the series"
Solution in Python:
 ... Give me a code to program to print the Sum of series and the other steps required?
assistant
#Here is code to program to print the Sum of series and the other steps required.
 def findSum ( N ) :
	return ( ( N * ( N + 1 ) * ( 2 * N - 5 ) + 4 * N ) / 2 )
if __name__ == ' _ _ main _ _ ' :
	N = 3
	print ( findSum ( N ) )