Learn to Code by Solving Problems: A Python Programming Primer Homepage for the book Learn to Code by Solving Problems: A Python Programming Primer

Can You Find the Bug?

Hello, Python people, It may be clear to you already that writing code is crucial in the process of learning to program. But there are other important skills that may be less obvious but that we need to practice as well. For example: reading code written by others. You never know what you’ll learn by reading through other people’s code. You mi... Read more

Alpaca Racing, aka Using the First Five Chapters!

What’s up, Python people, I don’t usually get multiple requests to cover the same thing, but I’ve gotten a few requests to cover a problem called Alpaca Racing. (Why? Alpacas learning Python? Hi, buddies. Please don’t spit on me.) I’m going to assume here that you’ve studied the first five chapters of the book. If you have, you know all about ... Read more

What Beginning Coders Might Care About in Python 3.10

Hello, Python people, My Learn to Code by Solving Problems book uses Python to teach you how to program. About once a year, a new Python version is released with new features and improvements. For the beginning programmer (or most programmers, really), there likely won’t be anything earth-shattering: you can continue to program as you have befo... Read more

Start Here

Hello, soon-to-be coder, My book Learn to Code by Solving Problems is written to help you learn to code in Python. This website contains extra resources for the book. Have a look around! You’ll find information about the book, downloadable code, my newsletter, and more. Ask your local bookshop, or buy online: No Starch Press Amazon Cana... Read more