Python via Trinket (2) – Having fun with Spirals

This is part 2 of the Python via Trinket series. Next, let’s do something a bit more complex.  Let’s draw some spirals.  Creating patterns with spirals are very interesting and relaxing to watch.  There are many way to do this, I created 2 reusable functions so the source code...

Tower of Hanoi – a study of recursive function

The Tower of Hanoi is a classic project assignment that most student of Computer Science would encounter in their academic classes. It is usually used to illustrate the power of recursive logic in a program, of cause that it is also a great puzzle to give some good exercise to...