Below are 10 different functions. The syntax for these functions is correct, however when testing these functions, you will notice that they do not produce the expected output: each of these functions contain a logic error. Did you know? To…
Chinese New Year (新年) aka Spring Festival (春节), is one of the most important festivals in Chinese culture. It has been celebrated in China for thousands of years. People celebrate by decorating their interior in red using red couplets of…
For this challenge we will use a 8×8 2D array to represent the positions of all the black and white pieces on the chessboard. We will then use Python Turtle to draw the chessboard using the information stored within the…
Are you looking for some inspiration for your next coding challenge? Do you need a selection of programmning projects for your coding club? Or maybe you would like to revise a computer science topic for your GCSE or A Level…
An egg farmer is picking up eggs every morning to sell on the local market. Every day, they are picking around 100 to 150 eggs and put these eggs into egg cartons of 12 eggs. So for instance, if on…
In this challenge, you will use your Python skills to create a quiz where the player has to guess the name of a country when they can only see the first letter of that country. When a player gives an…
The periodic table is a chart that organises all known chemical elements based on their atomic number, electron configurations, and recurring chemical properties. It serves as a fundamental tool in chemistry, physics, and other sciences, helping scientists understand the relationships…
There are a wide range of software that can be used on a computer system and these can be grouped in three main categories: Operating System: The Operating System (OS) is the foundational software that manages a computer’s hardware and…
For this set of challenges, we are going to teach our AI:Bot some basic maths skills such as how to count in 5 from 0 to 500 or how to count down from 100 to 0. We are also going…
You have been tasked with creating a Python program that generates a survey about programming preferences and skills. Your program will have to: Ask the user a series of questions about their programming experience. Validate the user’s input for each…