checking whether square root is an defeger or not . Count increments by 4 for four different quadrant values
if ( y * y == ySquare ) : NEW_LINE INDENT result += 4 NEW_LINE DEDENT return result NEW_LINE