python
def contains_point(self,other_x,other_y):
x1 = self.__x
y1 = self.__y
x2 = other_x
y2 = other_y
countDis = int((pow((x2-x1),2) + pow((y2-y1),2)) ** 0.5)
if countDis < self.__radius:
print(f"坐标x:{other_x},y:{other_y},点2在园1内")
return True
else:
print(f"坐标x:{other_x},y:{other_y},点2不在园1内")
return False
、
