human
360 | Function to find the nth 360 - gon Number.
Driver Code"
How can the above be solved in Python?

=====
Can you provide a code to 360 and the other steps required?
assistant
#Here is code to 360 and the other steps required.
 def gonNum360 ( n ) :
	return ( 358 * n * n - 356 * n ) // 2 ;
n = 3 ;
print ( gonNum360 ( n ) ) ;