human
Find Nth term of the series 1 , 5 , 32 , 288 ... | Function to generate a fixed number.
Finding nth term.
Driver code"
Solution in Python:
 Write me a code to find Nth term of the series 1 , 5 , 32 , 288?
assistant
#Here is code to find Nth term of the series 1 , 5 , 32 , 288 .
 def nthTerm ( N ) :
	nth = 0
	for i in range ( N , 0 , - 1 ) :
		nth += pow ( i , i )
	return nth
N = 3
print ( nthTerm ( N ) )