Blog Archives

Water Polo Challenge

water-polo

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

football-flag

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

Cinema Booking Challenge

A cinema has created a booking system for their main theatre which consists of 48 seats, organised in 6 rows of 8 seats. To store information as to whether a seat is booked or available, the program uses a 2-dimensional

Professor Snape’s Magic Potions

invisibility-potion

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

Haunted House

haunted-house

You are going to write a Python game where the user walks within the different rooms of a haunted house. In each room, something will happen. You will decide what happens when the user enters a room. You can use

Avatar Generator

avatars4

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

football2

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

repetitive-story

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

Our Latest Book