< Back

Post Lab 16

Create a function called are_circles_overlapping(circle_1_x, circle_1_y, circle_1_radius, circle_2_x, circle_2_y, circle_2_radius). The function should return True if the circle centered at (circle_1_x, circle_1_y) with a radius of circle_1_radius is overlapping with the circle centered at (circle_2_x, circle_2_y) with a radius of circle_2_radius. The function should return False otherwise. Consider two circle touching to be not overlapping.

You can compute whether two circles are overlapping by determining if the center points of the circles are within the sum of the circle radii.



Please write and test your code in the above textbox before Oct. 12th at noon.