Category: Beginner
Have we already seen this number? (deja vu again)
I had a phone interview for a Python job the other day. It started out really well, he was very… read more Have we already seen this number? (deja vu again)
Hello World 2, in Python 3
Hello World is the famous minimal introductory program for many programming languages. But as soon as it’s served its purpose, it’s discarded… read more Hello World 2, in Python 3
Rainbow Flag in Pygame
This little Pygame program paints the Rainbow Flag, as used by the LGBT movement. It illustrates: Importing the Pygame library… read more Rainbow Flag in Pygame
A Quick Introduction to Python 3 Programming
This Quick Introduction to Python 3 aims to teach you just enough Python, so that you can get started in… read more A Quick Introduction to Python 3 Programming
A Fake Circle made of Straight Lines
Inspired by this post on Reddit, I wrote this little script to do the same thing. The circle is an… read more A Fake Circle made of Straight Lines
Tweetable Python Code Golf
Code Golf is the amusement of writing as short as possible a program to perform a given task. So for… read more Tweetable Python Code Golf
A Graphical Dice Simulator
This PyGame program simulates the roll of a die (or dice if you prefer). It’s a fairly simple, straightforward thing… read more A Graphical Dice Simulator
Editors & IDEs
A text editor is all very well for simple notes, but for programming the basic text editor will quickly become… read more Editors & IDEs
Compute Average Heights
This is a simple program to compute average heights. In a loop, it prompts the user for heights, inputs a text… read more Compute Average Heights
Turtle Star
A very simple Turtle program. Turtle can draw intricate shapes using programs that repeat simple moves. Turtle graphics is a… read more Turtle Star
Square Spiral
This is a very simple introduction to Turtle graphics. The turtle starts in the middle of the window, moves forward… read more Square Spiral






