diff --git a/book/book.tex b/book/book.tex index d2a6d12..ccd3c79 100644 --- a/book/book.tex +++ b/book/book.tex @@ -12658,7 +12658,7 @@ \section{Exercises} Write a definition for a class named {\tt Circle} with attributes {\tt center} and {\tt radius}, where {\tt center} is a Point object -and radius is a number. +and {\tt radius} is a number. Instantiate a Circle object that represents a circle with its center at $(150, 100)$ and radius 75. @@ -12673,8 +12673,8 @@ \section{Exercises} Write a function named \verb"rect_circle_overlap" that takes a Circle and a Rectangle and returns True if any of the corners of the Rectangle fall -inside the circle. Or as a more challenging version, return True if -any part of the Rectangle falls inside the circle. +inside the Circle. Or as a more challenging version, return True if +any part of the Rectangle falls inside the Circle. Solution: \url{http://thinkpython2.com/code/Circle.py}.