human
What is a code to program to find the Nth term of the series 3 , 20 , 63 , 144 , 230 , â €¦ â €¦ and the other steps required given the following:
Program to find the Nth term of the series 3 , 20 , 63 , 144 , 230 , â €¦ â €¦ | calculate Nth term of series.
return final sum.
Driver code"
How can the above be solved in Python?
assistant
#Here is code to program to find the Nth term of the series 3 , 20 , 63 , 144 , 230 , â €¦ â €¦ and the other steps required.
 def nthTerm ( n ) :
	return 2 * pow ( n , 3 ) + pow ( n , 2 )
if __name__ == " _ _ main _ _ " :
	N = 3
	print ( nthTerm ( N ) )