## Do You Really Know What Sines and Cosines Are? Visualising Maths Using Python and Turtle

Visualising Maths using Python - Understanding sines and cosines and their link with the circle through an animation using Python and turtle

## Have your Apollo 11 moment: A Python Lunar Landing game using the turtle module

A step-by-step tutorial to write a Python lunar landing game using the turtle module

## Debugging Python Code Is Like Detective Work — Let’s Investigate

Debugging Python code is not a mysterious art form. It's like a detective solving a mystery. This analogy comes from one of my favourite programming aphorisms: "Debugging is like being the detective in a crime movie where you are also the murderer" (Felipe Fortes). So what can real detectives tell us about debugging Python code?… Continue reading Debugging Python Code Is Like Detective Work — Let’s Investigate

## Understanding Two-Point Perspective Drawing using Python

Have you ever struggled to truly understand a topic? Perhaps one related to your work, or maybe linked to a hobby? Writing a computer program to investigate the subject can often help you get that extra level of understanding you're looking for. I've often used this method to understand fairly abstract physics concepts in my… Continue reading Understanding Two-Point Perspective Drawing using Python

## What is coding? Beyond the obvious…

This week, instead of one of the tutorial-type articles I've been publishing recently, I'll go back to basics with an article aimed at those who are new to coding or those who are interested to know more about what this subject really is. Until relatively recently, coding was a subject reserved for a select few.… Continue reading What is coding? Beyond the obvious…

## Practise Using Lists, Tuples, Dictionaries, and Sets in Python With the Chaotic Balls Animation

One of the early topics covered when learning to code deals with the built-in data structures in Python. Lists are usually learned early on, followed by dictionaries and tuples. Sets are not normally one of the earliest topics covered. However, that's not because they're complex but because they're used less often in Python. Understanding the… Continue reading Practise Using Lists, Tuples, Dictionaries, and Sets in Python With the Chaotic Balls Animation

## Python City: Understanding how a Python Program Works (The White Room Series #3)

You've written a Python script or a project containing several modules. You press Run, figuratively or literally. What happens behind the scenes in the microseconds or seconds or minutes it takes for your program to run? You can dive into the details about the internal functioning of Python to learn how a Python program works.… Continue reading Python City: Understanding how a Python Program Works (The White Room Series #3)

## The Real World in Python: Coding A Bouncing Ball (Bouncing Ball Series #1)

The real world can be a difficult place to understand. Whether you're trying to make sense of the people that make up the real world and their actions, or the physical world itself, things are never easy. Sometimes, coding can help understand what's going on and maybe, just maybe, help find a solution to a… Continue reading The Real World in Python: Coding A Bouncing Ball (Bouncing Ball Series #1)

## Monty Will Help You Learn Python Coding, But Who’s Monty? (The White Room Series #1)

When you learn Python coding, you start by learning about the tools you'll need and the rules for each one of those tools. You learn the syntax of the for loop and what it does, for example. With time, you also learn when to use this tool and when not to use it. What's more… Continue reading Monty Will Help You Learn Python Coding, But Who’s Monty? (The White Room Series #1)

## Python List Comprehensions and Michael Phelps’ Olympic Medal Cabinet

Python list comprehensions can look a bit strange at first sight. However, with a bit of practice and experience, they quickly become a go-to tool for a Python programmer. But Python's list comprehensions are not just syntactic sugar that condense three lines of code into one. And they're not there just to make you look… Continue reading Python List Comprehensions and Michael Phelps’ Olympic Medal Cabinet