Skip to content
Logo Logopumping python: how I solve problems with Test Driven Development
⌘ K
Logo Logopumping python: how I solve problems with Test Driven Development
  • pumping python: how I solve problems with test driven development
  • join a HATCH
  • start here
    • install WSL on Windows
    • linux/WSL requirements
    • Mac OS requirements
    • Windows without WSL requirements
    • setup my computer
  • conventions
  • make TDD manually
    • what is a module?
    • how to run tests automatically
    • what is an assertion?
  • what is a function?
  • make a person with strings
  • functions that take input
    • what causes TypeError?
    • telephone
    • separate and equal
  • make a person with f-strings
  • make a person with a class
    • everything is an object
    • another way to write tests
  • make a person with datetime
    • what is None?
    • test AssertionError with assertIsNotNone and assertIsNone
    • test functions with assertIsNotNone and assertIsNone
  • make a person with conditions
    • what are booleans?
    • how to make a Python Test Driven Development environment automatically
    • truth table
  • make a person
  • handling Exceptions
    • Exceptions in tests
    • make a calculator 2
    • Exceptions in programs
    • make a calculator 3
  • what is a list?
    • lists
    • make a calculator 5
    • list comprehensions
    • make a calculator 6
  • what is a dictionary?
    • dictionaries
    • make a calculator 7
  • make TDD project 3
    • make TDD with name
    • make TDD no WSL with name
  • questions the book answers
  • make TDD manually
    • what is a module?
    • how to run tests automatically
    • what is an assertion?
  • connect the dots
  • errors
    • what causes TypeError?
    • handling Exceptions
  • basic objects
    • what are booleans?
    • Lists: anything in [ ]
    • Dictionaries: key-value pairs
  • how to
    • setup my computer
    • make TDD manually
    • telephone
    • make a calculator
    • handle Exceptions
    • make a person
  • catalog of tests
  • all the code in this book
    • AssertionError
    • None
    • booleans
    • truth table
    • how to pass values
    • functions
    • how to make a calculator
    • how to test/handle exceptions
    • TypeError
    • lists
    • list comprehensions
    • dictionaries
    • classes
    • ModuleNotFoundError
    • AttributeError
    • how to measure sleep duration
  • can we measure learning?
  • what do people think of this?
  • videos

Table of Contents

  • how to make a calculator
    • the chapters
    • what is next?
pumping python: how I solve problems with Test Driven Development
/
how tos
/
how to make a calculator



how to make a calculator


I want to use Test Driven Development to make a calculator


the chapters

These chapters cover making a calculator from the different things learned in other chapters

  • make a calculator 1
  • make a calculator 2
  • make a calculator 3
  • make a calculator 4
  • make a calculator 5
  • make a calculator 6
  • make a calculator 7
  • make a calculator 8
  • make a calculator 9
  • make a calculator 10

what is next?

start with how to make a calculator


CLICK HERE to leave a 5 star review of pumping python, if this has been a 7 star experience for you
how to make a Python Test Driven Development environment
how to make a calculator

On this page

  • how to make a calculator
    • the chapters
    • what is next?

© 2026, JadeCobra LLC Built with Sphinx 9.1.0