File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12658,7 +12658,7 @@ \section{Exercises}
1265812658
1265912659Write a definition for a class named {\tt Circle} with attributes
1266012660{\tt center} and {\tt radius}, where {\tt center} is a Point object
12661- and radius is a number.
12661+ and { \tt radius} is a number.
1266212662
1266312663Instantiate a Circle object that represents a circle with its center
1266412664at $ (150 , 100 )$ and radius 75.
@@ -12673,8 +12673,8 @@ \section{Exercises}
1267312673
1267412674Write a function named \verb "rect_circle_overlap " that takes a Circle
1267512675and a Rectangle and returns True if any of the corners of the Rectangle fall
12676- inside the circle . Or as a more challenging version, return True if
12677- any part of the Rectangle falls inside the circle .
12676+ inside the Circle . Or as a more challenging version, return True if
12677+ any part of the Rectangle falls inside the Circle .
1267812678
1267912679Solution: \url {http://thinkpython2.com/code/Circle.py}.
1268012680
You can’t perform that action at this time.
0 commit comments