Colourful Formatted Tables in Python

This post is written for readers with different levels of experience with Python programming and also with Mathematics. Depending on your experience and interest, you will get different things from reading it....

Pascal’s Triangle with Python

Coding Pascal’s Triangle with Python is a fun intermediate-level challenge. Pascal’s Triangle is a fascinating mathematical structure which contains many patterns. Each element in a row is formed by adding the two...

Calculating Distance with Python

Play Treasure Island by Clicking Here I am very keen to help people connections between Maths and Computer Science. Above is a game I wrote using JavaScript. When you click on an...

The TI-84 Graphic Calculator

This picture is of the Texas Instruments TI-84 Calculator which I make a lot of use of in my teaching. It’s great for giving students dynamic representations of the concepts they are...

Python Circle Sector Challenge

Maths and Computer Science are often taught very separately, and yet they make excellent companions. Writing a program to explore a topic from Maths can really help to understand the topic deeply...

Broken Chessboard Puzzle

Download this image of a modified chessboard, and open it with MS Paint or something similar. Imagine you are trying to cover the whole (modified) board with tiles each two squares long...