Tag: Sequencing

What if planet Earth was made of Lego?

lego-brick-dimensions

In this blog post we will use a Python script to work out how many lego bricks would be needed to build planet Earth! To solve our problem we will use the following data: We will work out the number

Thank You Medical Staff and Key Workers!

thank-you-medical-staff-and-key-workers

During the coronavirus pandemic, the rainbow has become a symbol of gratitude for the medical staff working in hospitals as well as all the other key workers who carried on working to provide essential services to their community. All over

Magic Trick Algorithm

playing-cards

In this blog post we are investigating whether we can teach a computer how to perform a magic trick. Algorithm If you want a computer to perform a specific task you need to provide this computer with a clear set

Stopping Distance Calculator

road-sign-deer

In this challenge, we will write a Python program to estimate the total stopping distance of a vehicle based on its speed. The stopping distance consists of two components. The first component is the reaction distance covered by the vehicle

Complementary Colours Algorithm

complementary-colours-flowchart

Complementary colours are pairs of colours which, when combined or mixed, cancel each other out by producing a grayscale colour like white or black. When placed next to each other, they create the strongest contrast for those two colours. Complementary

ASCII-Bot Challenge

ascii-bot-challenge

In this challenge we will use the print() instruction in Python to create an ASCII-bot: A robot made of ASCII characters, in other words characters that you can type with a standard QWERTY keyboard. Python Code This is what your

Python Turtle – My House

house-python-turtle

Using Python Turtle we created a range of functions to draw a house. We use these functions in our main program but can’t seem to get it to work. We believe the code has all the required instructions but these

Marathon Time Calculator

marathon

In this challenge you are going to write a Python script to help a marathoner predict the overall time they can complete a Marathon in (42km). This estimation will be based on the runner’s pace which is the time they

Cake Sale

cakesale

You are organising a cake sale and want to predict how much money you will raise. During this cake sale you will be selling the following three types of cakes: Input You decide to write a python script that asks

Coding Puzzles

code-puzzle-start

Complete the following coding puzzles by drag and dropping the lines of codes in the correct order to recreate basic computer programs. Click on the picture below to access the coding puzzles: