human
Nonagonal number | Function to find nth nonagonal number ..
Formula to find nth nonagonal number ..
Driver function ."
How can the above be solved in Python?
assistant
#Here is code to nonagonal number and the other steps required.
 def Nonagonal ( n ) :
	return int ( n * ( 7 * n - 5 ) / 2 )
n = 10
print ( Nonagonal ( n ) )