human
Intersecting rectangle when bottom | function to find intersection rectangle of given two rectangles ..
gives bottom - left point of intersection rectangle.
gives top - right point of intersection rectangle.
no intersection.
gives top - left point of intersection rectangle.
gives bottom - right point of intersection rectangle.
Driver code.
bottom - left and top - right corners of first rectangle.
bottom - left and top - right corners of first rectangle.
function call"
How can the above be solved in Python?

=====
Write me a code to intersecting rectangle when bottom and the other steps required?
assistant
#Here is code to intersecting rectangle when bottom and the other steps required.
 def FindPoints ( x1 , y1 , x2 , y2 , x3 , y3 , x4 , y4 ) :
	x5 = max ( x1 , x3 )
	y5 = max ( y1 , y3 )
	x6 = min ( x2 , x4 )
	y6 = min ( y2 , y4 )
	if ( x5 > x6 or y5 > y6 ) :
		print ( " No ▁ intersection " )
		return
	print ( " ( " , x5 , " , ▁ " , y5 , " ) ▁ " , end = " ▁ " )
	print ( " ( " , x6 , " , ▁ " , y6 , " ) ▁ " , end = " ▁ " )
	x7 = x5
	y7 = y6
	print ( " ( " , x7 , " , ▁ " , y7 , " ) ▁ " , end = " ▁ " )
	x8 = x6
	y8 = y5
	print ( " ( " , x8 , " , ▁ " , y8 , " ) ▁ " )
if __name__ == " _ _ main _ _ " :
	x1 = 0
	y1 = 0
	x2 = 10
	y2 = 8
	x3 = 2
	y3 = 3
	x4 = 7
	y4 = 9
	FindPoints ( x1 , y1 , x2 , y2 , x3 , y3 , x4 , y4 )