human
Can you provide a code to sum of internal angles of a Polygon and the other steps required given the following:
Sum of internal angles of a Polygon | Function to return the sum of internal angles of an n - sided polygon.
Driver code"
Solution in Python:
assistant
#Here is code to sum of internal angles of a Polygon and the other steps required.
 def sumOfInternalAngles ( n ) :
	if ( n < 3 ) :
		return 0
	return ( ( n - 2 ) * 180 )
n = 5
print ( sumOfInternalAngles ( n ) )