Rename folder, add new exercise file, comment out tests and import class Point into new file
This commit is contained in:
parent
65daeaadbf
commit
d1567735ab
2 changed files with 8 additions and 4 deletions
|
|
@ -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))
|
||||
4
thinkcspy/Chapter-17-18-Exercises/rectangle.py
Normal file
4
thinkcspy/Chapter-17-18-Exercises/rectangle.py
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
from points import Point
|
||||
|
||||
a = Point(5, 6)
|
||||
print(a)
|
||||
Loading…
Reference in a new issue