human
Write me a code to central angle of a N sided Regular Polygon and the other steps required given the following:
Central angle of a N sided Regular Polygon | Function to calculate central angle of a polygon.
Calculate the angle.
Driver code"
Solution in Python:
assistant
#Here is code to central angle of a N sided Regular Polygon and the other steps required.
 def calculate_angle ( n ) :
	total_angle = 360 ;
	return ( total_angle // n )
N = 5
print ( calculate_angle ( N ) )