Blog Archives

Graphing Algorithm


In this challenge we will write several procedures to graph different mathematical equations on screen using Python Turtle. We will focus on: Linear equations: y = ax + b Quadratic equations: y = ax2 + bx + c Trigonometric functions:

Connect4 Challenge


In this blog post you will use HTML, CSS, and JavaScript to complete this game of connect 4 for two players. (Rules of the game) You will first need to reverse-engineer the code provided. The code so far is used

Water Polo Challenge


In this challenge you are going to use Python code to score a goal in a game of Water Polo. To do so you will use the code given below. You will pass the ball from one player to another

Football Formation


The purpose of this challenge is to understand how subroutines (functions/procedures) are used in Python to create sections of code that can be called/reused many times within a program. Subroutines mean that a section of code can be identified using

Professor Snape’s Magic Potions


In this challenge we will use file handling techniques to read through and access the content of different text files. We have saved three recipes for the following three magic potions using one text file per recipe: Invisibility Potion: A

Avatar Generator


In this challenge we will use Python Turtle to create avatars. (An avatar is an icon representing a particular person in a computer game, Internet forum, etc.) Try the code below. This code is using a few computing concetps such

All Stars Football Team


In this challenge we are looking at how a list can be used to store all the players’ names of a football team. Using a set of functions we then manipulate this list to: Find a value in a list

The bear hunt


This challenge is inspired from Michael Rosen and Helen Oxenbury’s children book “We are going on a bear hunt”. In this story, a family skids down a grassy slope, swishes across a river, sludges through mud and finally sees a

Area Calculator


For this challenge we are going to use a Python script to calculate the area in square meters of two different flats. To do so we will write a computer program that will add up all the areas of each

Our Latest Book