LaTeX source, code examples, and exercise solutions from Think Python: How to Think Like a Computer Scientist
by Allen B. Downey
Available from Green Tea Press at https://thinkpython.com
Published by O'Reilly Media: https://shop.oreilly.com/product/0636920025696.do