human
Write a function to find the nth nonagonal number. Here is a solution in Python:
=====
What is a Python program to find the nth nonagonal number?
assistant
#Here is Python program to find the nth nonagonal number.
 def is_nonagonal(n): 
	return int(n * (7 * n - 5) / 2)