You have written Python, documented it so someone else can follow it, and analysed code that was not your own. Today you put all of that together.
You will plan, build, document and test a small Python program that solves a problem you choose. Then you will watch someone who did not build it try it out, and use what you see to improve it.
Pick a small problem a short Python program could help with. Keep the scope small enough to finish today: a short program that works and is tested beats a big idea that never runs.
Stuck for an idea? Try one of these, or invent your own:
Your finished build must:
Before you code, write a short plan (pseudo-code or a quick flow chart). Note one data or fairness question your program raises. Example: for a GAA scorer, should a player's name be stored with their score?
Start here. Open a new Python file and build from your plan. Hit Must before the freeze. That alone is enough to go to the swap.
Must (hit these before the freeze):
How to get there:
Need a start? Write each line below as a comment in your file, then fill the code under it.
You're previewing this lesson. Get full access to this lesson and hundreds more — each one ready to teach, with interactive activities, printable resources and pupil progress tracking built in.