human
Find the nth term of the given series | Function to return the nth term of the given series.
Driver code"
How can the above be solved in Python?

Give me a code to find the nth term of the given series and the other steps required?
assistant
#Here is code to find the nth term of the given series and the other steps required.
 def oddTriangularNumber ( N ) :
	return ( N * ( ( 2 * N ) - 1 ) )
if __name__ == ' _ _ main _ _ ' :
	N = 3
	print ( oddTriangularNumber ( N ) )