human
Find the Nth term of the series 2 + 6 + 13 + 23 + . . . | calculate Nth term of given series.
Driver code"
How can the above be solved in Python?

Write me a code to find the Nth term of the series 2 + 6 + 13 + 23 +?
assistant
#Here is code to find the Nth term of the series 2 + 6 + 13 + 23 + .
 def Nth_Term ( n ) :
	return ( 3 * pow ( n , 2 ) - n + 2 ) // ( 2 )
N = 5
print ( Nth_Term ( N ) )