human
Give me a code to n and the other steps required given the following:
n | Returns n - th term of the series 2 , 12 , 36 , 80 , 150.
driver code"
Solution in Python:
assistant
#Here is code to n and the other steps required.
 def nthTerm ( n ) :
	return ( n * n ) + ( n * n * n )
n = 4
print ( nthTerm ( n ) )