human
Area of the largest Rectangle without a given point | Function to find the maximum area such that it does not contains any hole.
Area for all the possible positions of the cut.
Find the maximum area among the above rectangles.
Driver Code.
Function call"
How can the above be solved in Python?
 ... Give me a code to area of the largest Rectangle without a given point and the other steps required?
assistant
#Here is code to area of the largest Rectangle without a given point and the other steps required.
 def maximumArea ( l , b , x , y ) :
	left , right , above , below = 0 , 0 , 0 , 0
	left = x * b
	right = ( l - x - 1 ) * b
	above = l * y
	below = ( b - y - 1 ) * l
	print ( max ( max ( left , right ) , max ( above , below ) ) )
l = 8
b = 8
x = 0
y = 0
maximumArea ( l , b , x , y )