human
Find Nth term of the series 1 , 8 , 54 , 384. . . | calculate factorial of N.
calculate Nth term of series.
Driver Code"
Solution in Python:

Can you provide a code to find Nth term of the series 1 , 8 , 54 , 384?
assistant
#Here is code to find Nth term of the series 1 , 8 , 54 , 384.
 def fact ( N ) :
	product = 1
	for i in range ( 1 , N + 1 ) :
		product = product * i
	return product
def nthTerm ( N ) :
	return ( N * N ) * fact ( N )
if __name__ == " _ _ main _ _ " :
	N = 4
	print ( nthTerm ( N ) )