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
2D Arrays
Working with two-dimensional arrays - grids, tables, and nested lists.
Read One Cell
Print the value at a row and column the user chooses from a fixed 3x3 grid.
Sum a Chosen Column
Add up every value in a column the user chooses from a 2D table.
Sum a Chosen Row
Add up every value in a row the user chooses from a 2D table.
Biggest Number in a Grid
Find the largest value anywhere in a 2D grid.
Pilot Hours Lookup
Look up a pilot code in a 2D array, total their hours, and print valid or warning.
Class Register Count
Count how many days a chosen pupil was present in a 2D register of Y/N.
Car Park Bay Availability
Report whether a chosen bay in a car park grid is free or taken.
Seating Plan Display
Create and display a 2D array representing a classroom seating plan.
Spreadsheet Row Totals
Calculate row and column totals in a 2D array of sales figures.
Cinema Booking Grid
Use a 2D array to represent cinema seats with booking functionality.
Student Grade Table
Process a 2D array of student grades to find averages per student and subject.
Noughts and Crosses Board
Create a playable noughts and crosses game using a 2D array.
Treasure Map Search
Search a 2D array to find a hidden treasure coordinate.