Tag: Sequencing

The commuter’s puzzle

to-the-moon-and-back

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

moon-earth

Did you know that Alpha-Centauri was 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?

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