Problem-Solving with Python teaches computational thinking to people who have never programmed.

Igor Benav, who founded the company, is writing it, and it is not out yet. Subscribers to our newsletter will hear when it is.

fourteen chapters anda project in each

About the book

Assistants such as ChatGPT can write Python for you, but working out whether that code solves your problem, and fixing it when it does not, still takes the ability to break a problem down and reason your way to a solution. That ability is usually called computational thinking, and this book teaches it with Python.

It is written for people with no programming experience, including those who started learning before and stopped, and those who already have AI tools write code for them and want to understand what comes back.

Status
Not out yet.
Chapters
Fourteen, with a practical project in each.
You need
A computer with Windows, macOS or Linux, and Python 3.9 or newer, which the first chapter shows how to install.
Author
Igor Benav.

Contents

  1. Preface

    It explains why solving problems matters more than knowing syntax once an AI assistant can write the code.

  2. 1
    The Foundations of Computational Thinking

    It builds the mental models for breaking a problem down, and the ideas from computer science behind them.

  3. 2
    Getting Started with Python

    It sets up Python and covers the basics, so that you can start writing a solution as code.

  4. 3
    Representing and Manipulating Data

    It covers Python’s data types and operations, and how to choose a representation that fits the problem.

  5. 4
    Decision Making and Logical Reasoning

    It covers conditionals and Boolean logic, and how to break a complicated decision into simple ones.

  6. 5
    Repetition and Iteration

    It covers for and while loops, and how to spot the patterns in a task that a loop can take over.

  7. 6
    Abstraction and Modularity

    It covers functions and scope, and how to split a large problem into parts that can be solved one at a time.

  8. 7
    Organized Data: Sequences and Lists

    It covers lists and tuples, and how to structure data for problems about collections of things.

  9. 8
    Key-Value Relationships with Dictionaries

    It covers dictionaries, and the lookup and relationship problems they make simple.

  10. 9
    Set Theory in Computing

    It covers Python’s sets and their operations, and the problems about unique items that they solve.

  11. 10
    Handling Errors

    It covers try and except and debugging, and how to write solutions that cope with the unexpected.

  12. 11
    Modules and Packages

    It covers the import system and the standard library, and how to build on solutions that already exist.

  13. 12
    File Input and Output

    It covers reading and writing files and context managers, and how to keep data between runs of a program.

  14. 13
    Introduction to Object-Oriented Programming

    It covers classes and inheritance, and how to model things from the real world as objects.

  15. 14
    Putting It All Together

    It brings everything in the book together to build one complete application.

When it is out

We will announce the book in our newsletter when it comes out, and subscribers also get each new article and each release of our products and libraries.