Power Sets with Python

A power set is the set of all possible subsets of a set. For example, if we have a set containing [A, B, C] the possible subsets are: [[], ['A'], ['B'], ['A',...

Python books for beginners

There is no doubt that the best way to learn to program is to practice. However, this is not enough. After all, if you practice typing for many years with just two...

Installing Python Packages

One of the things which makes Python awesome is the quality and quantity of open source packages available to extend its power. This means the with the right package and just a...

Python Challenge – 7 Puzzle

Here’s a fun little puzzle for you, which lends itself well to a Python coding solution. Find a two-digit positive integer that becomes 7 times smaller when its leftmost digit is removed....

Prime Numbers in Python

In this article we are going to look a some different ways to check whether a number is prime using Python. As well as being an interesting and useful exercise, this exploration...

Basic Animation with Python

In this article we are going to learn how to do basic animation and collision detection with Python Turtle Graphics. The best thing to do here is to copy the code provided...