Sometimes when debugging Python code, it is useful to be able to see the values of the variables at each step in its execution. This can be done with a debugging tool...
Automate The Boring Stuff With Python by Al Sweigart is a great book that will show you how to perform a wide variety of tasks using Python. It is available in a...
Understanding all the details of how an algorithm works can be challenging, and it is helpful to be able to perceive what is happening from multiple angles. One particularly useful tool to...
The efficiency of algorithms is important. Imagine a program that took centuries to calculate the solution to a problem (like Deep Thought from the Hitchhiker’s Guide to the Galaxy), or needed more...
I’ve been a big fan of the Texas Instruments TI-84 Graphic Calculator for many years. It is a marvellous tool for exploring mathematics and supports a programming language called TI-BASIC which enables...
The change making problem has become something of a classic due to what it can show us about different approaches to algorithmic problem solving. In this article we will look at the...
The Collatz Conjecture is an unsolved problem in Mathematics which lends itself nicely to exploration with Python. The idea is simple: Pick a positive whole number. If it’s odd, multiply it by...
This post is about a fun puzzle called the number placement puzzle. I have provided an interactive console program that lets you explore it. I have also provided a couple of algorithms...
In this article we will learn how to use Python programming to convert messages from English to Morse Code and vice versa. We will also learn how to play the Morse Code...
In this article we are going to look at how to create Venn Diagrams with Python. Venn Diagrams are a great invention and are a really handy way to reason about sets....