Tag: Sequencing

The commuter’s puzzle

Yuri lives in Oxford, UK and commutes by train to his work place in London every working day of the week (5 days a week). One evening, Yuri spot the Moon through the train window and asked himself the following

Mission Alpha-Centauri

Did you know that Alpha-Centauri is the second nearest star to planet Earth, the first one being the Sun. It is 4.2 light-years away from us! When astronomers measure the distance of stars (from planet Earth) they do not use

What if planet Earth was made of Lego?

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!

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

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

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