human
Check if it is possible to create a polygon with a given angle | Function to check whether it is possible to make a regular polygon with a given angle ..
N denotes the number of sides of polygons possible.
Driver Code.
function calling"
How can the above be solved in Python?
 ... Give me a code to check if it is possible to create a polygon with a given angle and the other steps required?
assistant
#Here is code to check if it is possible to create a polygon with a given angle and the other steps required.
 def makePolygon ( a ) :
	n = 360 / ( 180 - a )
	if n == int ( n ) :
		print ( " YES " )
	else :
		print ( " NO " )
if __name__ == " _ _ main _ _ " :
	a = 90
	makePolygon ( a )