Python Programming Challenges
292 free challenges for GCSE Computer Science students. Perfect for OCR and AQA students looking to practise Python programming, or anyone who wants to sharpen their coding skills.
☰ Browse by Topic
Battleships Game
Create a simplified one-player Battleships game where the player tries to guess the locations of the computer's ships on
Currency Converter
Write a program that stores currency names and exchange rates in a list. The program should convert an amount in British
Simple Notebook
Write a program that allows the user to store up to 10 notes. The user can choose which note to overwrite by entering it
Build a Shopping List
Add five items typed by the user to a list, then display the list and how many items it holds.
Count Above Average
Read six numbers into a list, work out the average, and count how many are above it.
Count Occurrences
Count how many times a chosen number appears in a list.
Reverse the List
Read five words into a list and print them in reverse order.
Add Up Until Zero
Keep reading numbers into a list until 0 is entered, then print the count and total.
Playlist Manager
Create and modify a playlist using list operations.
Score Tracker
Store and analyse scores in a list - find max, min, and average.
Student Name Search
Perform a linear search through a list to find a student.
Lottery Number Generator
Generate unique random numbers and store them in a list.
Quiz Score Register
Use parallel lists to store names and scores, then search and display.
Task List Manager
Complete task manager with add, remove, view, and mark-complete operations.
Bubble Sort
Implement bubble sort on a list of numbers, showing each pass.
Duplicate Remover
Find and remove duplicate values from a list using iteration.