## Python and The Baltimore Stockbroker

In this post we are going to use Python to explore the story of the Baltimore Stockbroker. If you were in the fortunate position to have some money to invest and you...

## Solving Quadratic Equations with Python

In this article we are going to explore how to use Python to solve quadratic equations and display the graphs of quadratic functions. Many years ago I used to use TI-84 graphing...

## Drawing Circles with Python Turtle Graphics

In this lesson we are going to learn how to draw circles with Python Turtle Graphics. We will then modify the default circle method so that we can centre our circles at...

## Hypothesis Testing with Python

In this article we are going to use Python to test whether a coin is fair. We will do this by making use of the statsmodels package to perform a hypothesis test....

## Conditional Probability with Python

In this post we are going to explore conditional probability with Python. Here’s a fun and potentially tricksome question about probabilities: In a family with two children, what is the probability that,...

## Discrete Probability Distributions with Python

In this article we are going to explore probability with Python with particular emphasis on discrete random variables. Discrete values are ones which can be counted as opposed to measured. This is...

## Exploring Simpson’s Paradox with Python

In this article we are going to learn about Simpson’s Paradox and explore it with Python programming. Simpson’s Paradox is where data appears to tell a different story when treated as a...

## Coins on a Star Puzzle with p5.js

Here’s a fun puzzle for you, which I have implemented online using the fantastic p5.js library for creative coding. The goal is to place as many coins on the board as possible...

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

## Python Programming Challenge – Maximum Value in List

Here’s a python programming challenge for you to help you develop your problem solving and algorithmic thinking skills. Find the position of the maximum value in a Python list of integers. Some...