human
Length of the perpendicular bisector of the line joining the centers of two circles | Python program to find the Length of the perpendicular bisector of the line joining the centers of two circles in which one lies completely inside touching the bigger circle at one point.
Driver code"
How can the above be solved in Python?
assistant
#Here is code to length of the perpendicular bisector of the line joining the centers of two circles and the other steps required.
 def lengperpbisect ( r1 , r2 ) :
	z = 2 * ( ( ( r1 * r1 ) - ( ( r1 - r2 ) * ( r1 - r2 ) / 4 ) ) ** ( 1 / 2 ) ) ;
	print ( " The ▁ length ▁ of ▁ the ▁ perpendicular ▁ bisector ▁ is ▁ " , z ) ;
r1 = 5 ; r2 = 3 ;
lengperpbisect ( r1 , r2 ) ;