The Eight Queens Puzzle is a classic problem whose goal is to place 8 queens on an 8x8 chessboard in such a way that none of the queens share a row, column...
Here’s a puzzle to help practice your computational thinking skills. Don’t forget to take it slowly and think through your answer carefully before committing. A sock drawer contains ten pairs of black...
There are many ways to run Python code. Many learners begin with IDLE which comes bundled with the standard Python installation. You can go a long way with IDLE but eventually you...
In this post we will be looking at an idea from mathematics called a random walk. In a random walk, each step in a process is determined randomly and we are interested...
Random Graphs in Python for A Level Computer Science and Beyond The jupyter notebook below shows an implementation of an algorithm for generating a random undirected, unweighted graph. The algorithm uses the...
Computer Science is an exciting and important subject where the demand for competent teachers outweighs the supply. This makes it an appealing option for many considering choosing it as a subject for...
How Well do You Type When Writing Python Code? This thing with typing is, if you type badly, you will get a lot of practice at typing badly, whereas if you learn...
Why do I Need Nested Loops in Python? Nested loops are a very important concept in Python programming and Computer Science, are used in many algorithms. For example sorting algorithms such as...
Have you ever had brainfreeze when trying to fit what you were doing into a framework that wasn’t suitable? Maybe it was a particular format for some lesson objectives, or a form...
Learning to program with Python is both fun and challenging. For some, it could mark the beginning of a life-long journey of discovery and creation. In many professions a knowledge of Python...