Compucademy
24  novembre     16h54
Automate The Boring Stuff With Python Book Review
robin    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 free-to-read online edition, but is one of those books that you will likely want to have handy as a paper copy as it [&]
14  novembre     12h20
How to Trace Python Algorithms with a Visualisation Tool
robin    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 help with understanding algorithms is a visualisation which shows you clearly the values of the variables and...
09  novembre     06h53
Analysis of Algorithms with Python
robin    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 memory than is available on all the memory chips of all computers in existence. Sounds improbable,...
31  octobre     10h42
TI-84 Python Edition Calculator Product Review
robin    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 you to write algorithms too. As a result the TI-84 has been very popular among students and...
19  octobre     07h04
The Change Making Problem with Python
robin    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 greedy approach using Python. A greedy algorithm is one which makes locally optimal choices at any given point, and...
30  août     14h34
The Collatz Conjecture with Python
robin    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 3 and add 1. If it’s even, divide it by 2. Now you have a new number. Apply the same rules to the [&]
23  juillet     14h41
Number Placement Puzzle with Python
robin    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 for solving the puzzle. Interactive Number Placement Puzzle Put the numbers provided in the correct positions to...
18  juin     16h12
Morse Code with Python
robin    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 version aloud using pygame and audio files containing sound samples. Morse Code was invented by Samuel Morse as a way to...
13  juin     14h30
Python Venn Diagrams
robin    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. Sets themselves are very important, not just because of the role they play in Mathematics, but also because they are a powerful tool ...
07  juin     16h05
Python Coding Challenge Modulo Operator
robin    In this Python coding challenge your goal is to implement the modulo operator (%) for yourself, without using division or the % operator itself. We’ll only consider positive integers here, although by all means go ahead and create a version that can handle negative ones too. Sometimes the goal is...