PYTHON PYTHON

The result is this book, now with the less grandiose title Think Python. Gregg Lind and Abigail Heithoff suggested Exercise 14.6.

ads

Part of the document

No Starch Press and the No Starch Press logo are registered trademarks o
f No Starch Press, Inc. Other
product and company names mentioned herein may be the trademarks of thei
r respective owners. Rather
than use a trademark symbol with every occurrence of a trademarked name,
we are using the names only
in an editorial fashion and to the benefit of the trademark owner, with
no intention of infringement of the
trademark.
The information in this book is distributed on an “As Is" basis, w
ithout warranty. While every precaution
has been taken in the preparation of this work, neither the author nor N
o Starch Press, Inc. shall have any
liability to any person or entity with respect to any loss or damage cau
sed or alleged to be caused directly or
indirectly by the information contained in it.
about the author
Eric Matthes is a high school science and math teacher living in Alaska,

where he teaches an introductory Python course. He has been writing
programs since he was five years old. Eric currently focuses on writing
soft-
ware that addresses inefficiencies in education and brings the benefits
of
open source software to the field of education. In his spare time he enj
oys
climbing mountains and spending time with his family.
a
bout the
technical reviewer
Kenneth Love has been a Python programmer and teacher for many years.
He has given talks and tutorials at conferences, done professional train
-
ings, been a Python and Django freelancer, and now teaches for an online

education company. Kenneth is also the co-creator of the django-braces
package, which provides several handy mixins for Django"s class-based

views. You can keep up with him on Twitter at @kennethlove.

For my father, who always made time to
answer my questions about programming,

and for Ever, who is just beginning to ask me
his questions