human
Hectagon Number | Finding the nth hectagon number.
Driver code"
How can the above be solved in Python?
 Give me a code to hectagon Number and the other steps required?
assistant
#Here is code to hectagon Number and the other steps required.
 def hectagonNum ( n ) :
	return ( 98 * n * n - 96 * n ) // 2
n = 3
print ( "3rd ▁ hectagon ▁ Number ▁ is ▁ = ▁ " , hectagonNum ( n ) )