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.

๐Ÿ“ Edexcel students? Practise Paper 2 challenges here
☰ Browse by Topic
Difficulty:

Inputs & Outputs

The basics - getting input from users and displaying output with print().

Never done this before? Learn it first →

MediumInputs & Outputs
Age Next Year
Create a program that asks the user for their age and then prints what their age will be next year.
EasyInputs & Outputs
Digital Clock Display
Write a program that outputs the current time in a digital clock format using ASCII art.
EasyInputs & Outputs
Favourite Colour Display
Ask the user for their favourite colour and then output a sentence including that colour.
EasyInputs & Outputs
Friendly Welcome Message
Write a program that displays a friendly welcome message and today's date to the user.
EasyInputs & Outputs
Inspirational Quote Output
Write a program that outputs an inspirational quote of your choice.
EasyInputs & Outputs
Name in Art Challenge
Write a program that outputs your name in stylized ASCII Art.
EasyInputs & Outputs
Personalised Welcome
Write a program that asks the user to enter their name and then outputs a welcome message with their name in it.
MediumInputs & Outputs
Greeting Message
Develop a program that asks the user's name and age and then greets them with a nice message
MediumInputs & Outputs
Sum of Two Numbers
Create a program that takes two numbers as input and prints their sum and product.
MediumInputs & Outputs
Personalised Adder
Write a program that asks the user for two numbers, adds them together, and then prints a personalised message with the
MediumInputs & Outputs
Rectangle Area and Perimeter
Ask for a width and height, then print the area and the perimeter.
EasyInputs & Outputs
Museum Opening Hours Sign
Write a program that prints a four line opening hours sign for a museum.
EasyInputs & Outputs
Train Platform Announcement
Store three pieces of information about a train and print them all on one line.
EasyInputs & Outputs
Recycling Collection Notice
Print a bin collection notice and explain every line of the program with a comment.
EasyInputs & Outputs
Pet Adoption Profile Card
Store a rescue dog's details in variables, print its profile card, then change one variable and print again.
EasyInputs & Outputs
School Trip Information Sheet
Store three trip details that must never change as constants, then print an information sheet from them.
MediumInputs & Outputs
Hotel Guest Registration
Collect and display guest details using string inputs and concatenation.
MediumInputs & Outputs
Cinema Ticket Receipt
Calculate ticket cost using type casting and formatted output.
MediumInputs & Outputs
Pet Profile Builder
Create a pet profile using multiple input types and string formatting.
MediumInputs & Outputs
Delivery Address Formatter
Format address data into a standard postal format with type conversion.
MediumInputs & Outputs
BMI Calculator
Calculate BMI from height and weight with formatted decimal output.
MediumInputs & Outputs
Temperature Converter
Convert between Celsius and Fahrenheit using arithmetic and output formatting.
MediumInputs & Outputs
Student ID Generator
Build a student ID from multiple inputs using string operations and casting.
MediumInputs & Outputs
Recipe Scaler
Scale recipe ingredients using multiplication and formatted output.