Tag: Sequencing

Stopping Distance Calculator


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


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


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


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


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


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:

Sequencing, Selection & Iteration


When you write lines of code, there are three ways you can control the order these lines will be executed by the computer: Sequencing: This means that the computer will run your code in order, one line at a time