From c8346880c7cf5248d18fa956160b831018816809 Mon Sep 17 00:00:00 2001 From: lolabird Date: Mon, 19 Feb 2024 11:09:49 -0700 Subject: [PATCH] Remove unnecessary comments --- thinkcspy/Chapter-17-18-Exercises/points.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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)) +