diff --git a/thinkcspy/Chapter-17-18-Exercises/points.py b/thinkcspy/Chapter-17-18-Exercises/points.py index f7fc7b3..308605e 100644 --- a/thinkcspy/Chapter-17-18-Exercises/points.py +++ b/thinkcspy/Chapter-17-18-Exercises/points.py @@ -52,8 +52,6 @@ class Point: return (midX, midY) def findCenterRadius(self, pnt1, pnt2): - # Find a way to figure out if all three points are on the same line probably - # Comparing slopeIntercept return values m1, b1 = self.slopeIntercept(pnt1) m2, b2 = self.slopeIntercept(pnt2) @@ -76,8 +74,4 @@ class Point: def __str__(self): return "x=" + str(self.x) + ", y=" + str(self.y) - -# p = Point(7, 6) -# q = Point(10, 3) -# z = Point(8, 5) -# print(p.findCenterRadius(q, z)) +