human
Ratio of the distance between the centers of the circles and the point of intersection of two transverse common tangents to the circles | Python3 program to find the ratio of the distance between the centres of the circles and the point of intersection of two transverse common tangents to the circles which do not touch each other.
Function to find the ratio.
Driver code"
Solution in Python:
assistant
#Here is code to ratio of the distance between the centers of the circles and the point of intersection of two transverse common tangents to the circles and the other steps required.
 def GCD ( a , b ) :
	if ( b != 0 ) :
		return GCD ( b , a % b ) ;
	else :
		return a ;
def ratiotang ( r1 , r2 ) :
	print ( " The ▁ ratio ▁ is " , r1 // GCD ( r1 , r2 ) , " : " , r2 // GCD ( r1 , r2 ) ) ;
r1 = 4 ; r2 = 8 ;
ratiotang ( r1 , r2 ) ;