Binary Search is one of the most fundamental computer algorithms. Given an ordered list of some data (names, numbers, …) … More

# Month: April 2015

# Python Programming Resources

If you’re looking for information, books, tutorials, blogs, editors & IDEs, etc about the Python programming language, then I humbly … More

# Random Walk

A colourful random walk. The basic idea is very simple: choose a random heading in the range 0:360 degrees. Step … More

# Turtle Star

A very simple Turtle program. Turtle can draw intricate shapes using programs that repeat simple moves. Turtle graphics is a … More

# Sierpinski Triangle, drawn by a Turtle

This is a classic fractal drawn with a recursion algorithm and Turtle graphics. The Sierpinski Triangle’s sides are bisected and … More

# Square Spiral

This is a very simple introduction to Turtle graphics. The turtle starts in the middle of the window, moves forward … More

# Naive Mandelbrot Set

This is your basic Mandelbrot Set plotter. Very little effort made to speed it up, except for plotting top & … More

# Fractal Tree

This program draws a ‘tree’ by drawing a trunk (initially; later it’s a branch) and appending a tree, recursively. Uses … More

# FizzBuzz

This is apparently a well-known interview question (but not one I was ever asked). Print the numbers 1 to 100, … More