human
Hendecagonal number | Function of Hendecagonal number.
Formula to calculate nth Hendecagonal number & return it into main function ..
Driver Code"
How can the above be solved in Python?

Write me a code to hendecagonal number and the other steps required?
assistant
#Here is code to hendecagonal number and the other steps required.
 def hendecagonal_num ( n ) :
	return ( 9 * n * n - 7 * n ) // 2
if __name__ == ' _ _ main _ _ ' :
	n = 3
	print ( n , " rd ▁ Hendecagonal ▁ number ▁ : ▁ " , hendecagonal_num ( n ) )
	n = 10
	print ( n , " th ▁ Hendecagonal ▁ number ▁ : ▁ " , hendecagonal_num ( n ) )