From 5a9c69297b51ac1073de897ca95ed8d1017be6c0 Mon Sep 17 00:00:00 2001 From: Jorge Espinoza Date: Tue, 17 Nov 2020 19:39:27 -0300 Subject: [PATCH] Style details Just suggestions --- book/book.tex | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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}.