More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
post
page
Python IDE Dashboard
Tag: List

The Moroccan Spices Box Set Puzzle

In the heart of the medina of Marrakech, you will find one of the largest and most colourful souks in Morocco. In this souk, you will find merchants selling traditional clothing, multicoloured carpets, pottery, jewellery, antiques, lanterns, spices, etc. On

Countries of Africa

Can you name all of the 54 countries of Africa? In this challenge we will write a Python script to create a quiz where we ask the user to guess as many African countries as possible. The player will score

Algebraic Pyramid Challenge

For the purpose of this challenge we will use algebraic pyramids pointing downwards (or upside down pyramids!). The idea of this mathematical puzzle is to fill in all the bricks of a pyramid based on the following rule: To work

Shuffling Algorithm

Our aim is to implement a shuffling algorithm to shuffle a deck of playing cards. To do so, we will use a list called deck to store the 52 cards of the deck as follows: deck = ["Ace of hearts","2

My Class Register

For this challenge we will create a program to be used by a teacher at a start of a lesson to take the register. The program will go through a class list and for each pupil in the list, will

The Social Network

Six Degrees of Separation The Six degrees of separation is an idea that was originally set out by Frigyes Karinthy in 1929 and that can be applied to Social Networks such as Facebook. It is based on the idea that

Space Invaders – 3D Pixel Art

In this blog post we will use Glowscript to create a 3D animation of a space invader. 2D Graphics used in retro arcade games consist of pixels. A 2D graphic can be described as a grid of pixels of different

Food Chain Game Using Python

Learning Objectives? In this set of Python challenges we will investigate the use of two data structures used in programming to represent data: We will use an array/list to represent a food chain. We will use a graph to represent

Min, Max, Mean, Median and Mod

In this Python challenge we will manipulate a list of numbers to calculate the Min, Max, Mean, Median and Mod of all these numbers. First you may want to refresh your maths skills and check the meaning of these terms:

Layer Cake using Python Turtle

In this challenge we will use Python Turtle to create and draw a layer cake. The code provided at the bottom of this blog post is using a few computing concepts such as: A list to store the parameters of

Privacy Overview

This website will store some information about your preferences on your own computer inside a tiny file called a cookie. A cookie is a small piece of data that a website asks your browser to store on your computer or mobile device. The cookie allows the website to remember your actions or preferences over time.

You can delete all cookies that are already on your computer, and you can set most browsers to prevent them from being placed. However, if you do this, you may have to manually adjust some preferences every time you visit a site, and some services and functionalities may not work.

Most browsers support cookies, but you can set your browser to decline them and can delete them whenever you like. You can find instructions here for how you can do that on various browsers.

This website uses cookies to:

  1. Identify you as a returning user and to count your visits in traffic statistics analysis
  2. Remember your custom display preferences (such as light/dark theme option)
  3. Provide other usability features, including tracking whether you have already given your consent to cookies

Enabling cookies is not strictly necessary for the website to work but it will provide you with a better browsing experience.

The cookie-related information is not used to identify you personally and is not used for any purpose other than those described here.

There may also be other types of cookies created after you have visited this website. This site uses Google Analytics, a popular web analytics service that uses cookies to help to analyse how users use the site. The information generated by the cookie about your use of this website (including your IP address) will be transmitted to and stored by Google on servers in the United States. Google will use this information for the purpose of evaluating your use of other website, compiling reports on website activity, and providing other services relating to website activity and internet usage. Google may also transfer this information to third parties where required to do so by law, or where such third parties process the information on Google’s behalf. Google undertakes not to associate your IP address with any other data held by Google.