Think Like a Programmer, Python Edition

Think Like a Programmer, Python Edition
A Beginner's Guide to Programming and Problem Solving
V. Anton Spraul
February 2018, 400 pp.

Order now and get early access to the PDF ebook!
(What's Early Access?)
(Which chapters are available now?)

Get 30% off with the coupon code EARLYBIRD

Programming isn’t just about syntax and assembling code—it’s about problem solving, and all good programmers must think creatively to solve problems. Like the best-selling Think Like a Programmer before it (with over 75,000 copies sold worldwide), this Python-based edition will help you transition from reading programs to writing them, in Python. (No prior programming experience required!)

Rather than simply point out solutions to problems, author Anton Spraul will get you thinking by exposing you to techniques that will teach you how to solve programming problems on your own. Each chapter covers a single programming concept like data types, control flow, code reuse, recursion, and classes, then a series of Python-based exercises have you put your skills to the test.

You’ll learn how to:

  • Break big problems down into simple, manageable steps to build into solutions
  • Write custom functions to solve new problems
  • Use a debugger to examine each line of your running program in order to fully understand how it works
  • Tackle problems strategically by turning each new concept into a problem-solving tool

The Python edition of Think Like a Programmer aims squarely at the beginning programmer, with additional chapters on early programming topics such as variables, decisions, and looping.

This book uses Python 3

Author Bio 

V. Anton Spraul has taught introductory programming and computer science for over 15 years. Think Like a Programmer is a distillation of the classroom techniques he has honed over many one-on-one sessions with struggling programmers. Spraul is also the author of Think Like a Programmer (No Starch Press) and Computer Science Made Simple (Broadway).

Table of contents 


Chapter 1: Programming is Problem Solving (AVAILABLE NOW)
Chapter 2: Setting Up (AVAILABLE NOW)
Chapter 3: Variables and Calculations (AVAILABLE NOW)
Chapter 4: The Debugger (AVAILABLE NOW)
Chapter 5: Decision Making
Chapter 6: Looping
Chapter 7: Arrays
Chapter 8: Functions
Chapter 9: Recursion
Chapter 10: Classes
Chapter 11: Testing
Chapter 12: Code Reuse
Chapter 13: Thinking Like a Programmer