## Books for Learning Mathematics for Computing

From positioning items on the screen to dealing with complex simulations of the laws of physics in animated games, to finding ways to optimise information flow in a vast network, the fields...

In this article we will look at how to use Python to determine whether two indices in a list are adjacent. Say you have a list like in the image, where the...

## Tangram Puzzle

Puzzles are an excellent way to develop your problem solving skills and have fun at the same time. The Tangram Puzzle is a classic puzzle from China which involves rearranging 7 pieces...

## Python Anagrams Challenge

Checking whether two strings are anagrams of each other is a fairly common coding challenge or kata. At a local meetup recently, we looked at an extended version of the challenge: not...

## Practical Python String Methods

In this article we will look at some practical uses of Python string methods to manipulate text. Much of the the power of the internet depends on the ability to manipulate strings,...

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