---
product_id: 225975880
title: "Learn to Code by Solving Problems: A Python Programming Primer"
price: "KSh7835"
currency: KES
in_stock: true
reviews_count: 13
url: https://www.desertcart.co.ke/products/225975880-learn-to-code-by-solving-problems-a-python-programming-primer
store_origin: KE
region: Kenya
---

# Learn to Code by Solving Problems: A Python Programming Primer

**Price:** KSh7835
**Availability:** ✅ In Stock

## Quick Answers

- **What is this?** Learn to Code by Solving Problems: A Python Programming Primer
- **How much does it cost?** KSh7835 with free shipping
- **Is it available?** Yes, in stock and ready to ship
- **Where can I buy it?** [www.desertcart.co.ke](https://www.desertcart.co.ke/products/225975880-learn-to-code-by-solving-problems-a-python-programming-primer)

## Best For

- Customers looking for quality international products

## Why This Product

- Free international shipping included
- Worldwide delivery with tracking
- 15-day hassle-free returns

## Description

Learn to Code by Solving Problems is a practical introduction to programming using Python. It uses coding-competition challenges to teach you the mechanics of coding and how to think like a savvy programmer. Computers are capable of solving almost any problem when given the right instructions. That’s where programming comes in. This beginner’s book will have you writing Python programs right away. You’ll solve interesting problems drawn from real coding competitions and build your programming skills as you go. Every chapter presents problems from coding challenge websites, where online judges test your solutions and provide targeted feedback. As you practice using core Python features, functions, and techniques, you’ll develop a clear understanding of data structures, algorithms, and other programming basics. Bonus exercises invite you to explore new concepts on your own, and multiple-choice questions encourage you to think about how each piece of code works. You’ll learn how to: Run Python code, work with strings, and use variables Write programs that make decisions Make code more efficient with while and for loops Use Python sets, lists, and dictionaries to organize, sort, and search data Design programs using functions and top-down design Create complete-search algorithms and use Big O notation to design more efficient code By the end of the book, you’ll not only be proficient in Python, but you’ll also understand how to think through problems and tackle them with code. Programming languages come and go, but this book gives you the lasting foundation you need to start thinking like a programmer.

Review: Best Intro to Algorithm Programming (Kid Friendly Too!!) - WOW! The exact extremely gentle introduction to algorithmic programming I'm looking for! It's like USACO for kids!! All the problems are DMOJ simple problems, which is very type of simple programming problems and judge I'm looking for and this book organizes them in a way that is friendly and fun for beginners! Such a unique book! It took me buying 10+ other Python books to find it!! Thanks for putting into the work to find and compile these problems and writing this book! (I first went through the basics of Python with the first half of Python Crash Course, another No Starch Press book.)
Review: Great way to learn Python - I have had a few false starts in my journey to learn to code, some due to personal circumstances and other due to the study materials. The concept of ‘Learn to code by solving problems’ is a great fit for me. Daniel Zingsro lays out a problem and them walks your through the Python concepts to solve it. That is great but then he give you more problems to solve that use the same concepts from online coding competition websites where you can upload you code and get an instant pass or fail grade. I am not too far into the book yet but so far, it’s really helpful

## Technical Specifications

| Specification | Value |
|---------------|-------|
| Best Sellers Rank | #271,569 in Books ( See Top 100 in Books ) #151 in Introductory & Beginning Programming #194 in Python Programming #345 in Computer Programming Languages |
| Customer Reviews | 4.7 out of 5 stars 102 Reviews |

## Images

![Learn to Code by Solving Problems: A Python Programming Primer - Image 1](https://m.media-amazon.com/images/I/71KtWlolxVL.jpg)

## Customer Reviews

### ⭐⭐⭐⭐⭐ Best Intro to Algorithm Programming (Kid Friendly Too!!)
*by S***M on February 21, 2025*

WOW! The exact extremely gentle introduction to algorithmic programming I'm looking for! It's like USACO for kids!! All the problems are DMOJ simple problems, which is very type of simple programming problems and judge I'm looking for and this book organizes them in a way that is friendly and fun for beginners! Such a unique book! It took me buying 10+ other Python books to find it!! Thanks for putting into the work to find and compile these problems and writing this book! (I first went through the basics of Python with the first half of Python Crash Course, another No Starch Press book.)

### ⭐⭐⭐⭐⭐ Great way to learn Python
*by A***W on August 24, 2022*

I have had a few false starts in my journey to learn to code, some due to personal circumstances and other due to the study materials. The concept of ‘Learn to code by solving problems’ is a great fit for me. Daniel Zingsro lays out a problem and them walks your through the Python concepts to solve it. That is great but then he give you more problems to solve that use the same concepts from online coding competition websites where you can upload you code and get an instant pass or fail grade. I am not too far into the book yet but so far, it’s really helpful

### ⭐⭐⭐⭐⭐ This book helped me start my CS degree at NYU
*by E***N on February 3, 2023*

I just finished the NYU python 101 course. This book was very much like the course at college where we learned to code by solving problems. This book uses the exact same approach. According to my father, a professional software engineer, the approach of this book is how all the big tech firms interview their candidates: They present a problem and the candidate tool to solve the problem is code. I highly recommend it for any starting student. I believe this will also help in my future interviews.

## Frequently Bought Together

- Learn to Code by Solving Problems: A Python Programming Primer
- Python Crash Course, 3rd Edition: A Hands-On, Project-Based Introduction to Programming
- Think Like a Programmer: An Introduction to Creative Problem Solving

---

## Why Shop on Desertcart?

- 🛒 **Trusted by 1.3+ Million Shoppers** — Serving international shoppers since 2016
- 🌍 **Shop Globally** — Access 737+ million products across 21 categories
- 💰 **No Hidden Fees** — All customs, duties, and taxes included in the price
- 🔄 **15-Day Free Returns** — Hassle-free returns (30 days for PRO members)
- 🔒 **Secure Payments** — Trusted payment options with buyer protection
- ⭐ **TrustPilot Rated 4.5/5** — Based on 8,000+ happy customer reviews

**Shop now:** [https://www.desertcart.co.ke/products/225975880-learn-to-code-by-solving-problems-a-python-programming-primer](https://www.desertcart.co.ke/products/225975880-learn-to-code-by-solving-problems-a-python-programming-primer)

---

*Product available on Desertcart Kenya*
*Store origin: KE*
*Last updated: 2026-10-26*