human
Radius of a circle having area equal to the sum of area of the circles having given radii | Function to calculate radius of the circle having area equal to sum of the area of two circles with given radii.
Area of first circle.
Area of second circle.
Area of third circle.
Radius of third circle.
Driver code.
Given radius.
Prints the radius of the required circle"
How can the above be solved in Python?

Give me a code to radius of a circle having area equal to the sum of area of the circles having given radii and the other steps required?
assistant
#Here is code to radius of a circle having area equal to the sum of area of the circles having given radii and the other steps required.
 def findRadius ( r1 , r2 ) :
	a1 , a2 , a3 , r3 = 0 , 0 , 0 , 0 ;
	a1 = 3.14 * r1 * r1 ;
	a2 = 3.14 * r2 * r2 ;
	a3 = a1 + a2 ;
	r3 = ( ( a3 / 3.14 ) ** ( 1 / 2 ) ) ;
	return r3 ;
if __name__ == ' _ _ main _ _ ' :
	r1 = 8 ; r2 = 6 ;
	print ( int ( findRadius ( r1 , r2 ) ) ) ;