© 2004-20

Python Exercises

On this page you will find links to series of exercises to help with learning to code in general and Python in particular.

Method Description
Iteration Using for and while loops to process numeric and character data
2D List Exercises Using 2D list to analyse time spent by students playing games Includes skeleton code

Notes: This is a zip file download, unzip the contents then move to your development folder

Sports Team Using DIV and MOD in python. Differentiated task to allow the user to input data, validate and produce a result
Chatbot Exercise to create a chatbot that remembers who you are and what you said! Designed to cover validation, list, file handling and structured programming
Student Weights Record student weights and analyse the difference at the end of term
Car Park Manager Record entry time into the car park then calculates the amount to pay based on the length of stay
Global variables Understand varaible scope and how to use global variables
Concrete Products Order system Allows the user to choose the shape and size and quantity of concrete products. Calculates the final cost of all orders placed
Flashcards Electronic flashcards to aid exam revision. Uses a text file to store data