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...

PYTHON USER INPUT

User input is one of the things which makes Python programming powerful and interesting, as it provides interactivity. This article shows you how to make Python ask for input from the user...

PYTHON OBJECT-ORIENTED PROGRAMMING

Object-Oriented programming is an essential skill for any serious Python programmer. It is one of the most important programming paradigms, and vast amounts of code exist which make use of it. GETTING...