Learn Python the Way a Computer Scientist Thinks
Allen B. Downey’s Think Python has long been a favorite introduction to programming because it focuses on how to think through problems and express solutions clearly. The third edition keeps that hands-on, concept-first approach while updating the material for the current Python ecosystem—including Jupyter notebooks, modern debugging techniques, and the growing role of large language models.
Inside, you’ll move from basic expressions and variables through functions, conditionals, recursion, lists, dictionaries, tuples, files, and object-oriented programming. Each chapter introduces a core idea, gives you a chance to work with it in code, and then reinforces the skill with exercises designed to build real understanding rather than memorization.
What’s New in This Edition 🐍
The third edition explicitly addresses how large language models (LLMs) can support learning and coding. You’ll find guidance on writing effective prompts, using AI assistants to test and debug code, and knowing when to rely on—or not rely on—automated help. The author also highlights Jupyter Notebooks and other tools that have become central to modern Python teaching and practice.
A Hands-On Path from First Script to Object-Oriented Programming
Downey’s careful progression is especially helpful for self-directed learners and first-year programming students. Topics include:
- Python syntax, semantics, and core vocabulary
- Variables, expressions, statements, and functions
- Conditionals, recursion, and debugging strategies
- Working with strings, files, and regular expressions
- Lists, dictionaries, tuples, and text analysis
- Programmer-defined types, methods, and object-oriented design
Why This Book Works for Beginners
Rather than racing through syntax, Think Python slows down where it matters. Each programming concept is defined clearly, used in a small example, and then connected to a larger idea. The exercises are practical without being overwhelming, and the glossary and debugging notes give you vocabulary and techniques that transfer well beyond this book.
More Than Code
You’ll also learn how to structure small programs, read code more effectively, and debug with a systematic mindset. The book’s focus on computational thinking means you finish with durable skills that apply to any language—not just a list of Python commands.
Who Should Read This
This ebook is a strong fit for complete beginners, students in introductory programming courses, educators who want a clear and engaging text, and anyone returning to programming after time away. No prior Python experience is assumed.
User Reviews
Only logged in customers who have purchased this product may leave a review.
Think Java: How to Think Like a Computer Scientist, 2nd Edition
Sold by Allen B. Downey
Original price was: $48.99.$24.50Current price is: $24.50.

There are no reviews yet.