diff --git a/thinkcspy/Chapter-17-Exercises/points.py b/thinkcspy/Chapter-17-18-Exercises/points.py similarity index 96% rename from thinkcspy/Chapter-17-Exercises/points.py rename to thinkcspy/Chapter-17-18-Exercises/points.py index e53171d..f7fc7b3 100644 --- a/thinkcspy/Chapter-17-Exercises/points.py +++ b/thinkcspy/Chapter-17-18-Exercises/points.py @@ -77,7 +77,7 @@ 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)) +# p = Point(7, 6) +# q = Point(10, 3) +# z = Point(8, 5) +# print(p.findCenterRadius(q, z)) diff --git a/thinkcspy/Chapter-17-18-Exercises/rectangle.py b/thinkcspy/Chapter-17-18-Exercises/rectangle.py new file mode 100644 index 0000000..c426331 --- /dev/null +++ b/thinkcspy/Chapter-17-18-Exercises/rectangle.py @@ -0,0 +1,4 @@ +from points import Point + +a = Point(5, 6) +print(a) \ No newline at end of file