TRIANGLE NUMBERS WITH PYTHON

This post explores some different ways of generating the famous Triangle Numbers with Python. Before reading on, have a go a writing some Python code to print out the first 10 Triangle...

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...