Programming: Exploring Python
Exploring Python programming, focusing on syntax, nested loops and debugging syntax and logic errors.
New statutory RSHE guidance is here. We’re creating our brand new RSE & PSHE scheme ready for September 2026. Learn more
- Subjects >
- Computing >
- Key stage 2 >
- Year 6 >
-
Programming: Exploring Python
Please note
This unit uses the BBC micro:bit and the micro:bit Python editor, which is supported by the Micro:bit Educational Foundation.
Unit outcomes
Pupils who are secure will be able to:
- Identify key similarities and differences between block-based code and text-based Python.
- Predict what a Python program will do before it is run.
- Explain how Python instructions work and why correct syntax and indentation matter.
- Spot and fix simple syntax errors, including typing and spacing mistakes.
- Identify and explain the role of the outer and inner loops in a nested loop program.
- Change loop values and describe how this affects patterns or movement.
- Modify existing Python code to create a new, intended outcome.
- Use a systematic approach to identify, debug and explain syntax and logic errors.
Suggested prior learning
Programming 2: BBC micro:bit
Get startedLessons
Lesson 1: From blocks to text
Lesson 2: Syntax rules
-
To follow Python’s syntax rules so the computer understands my instructions.
Lesson 3: Nested loops in Python
Lesson 4: Remixing Python
Lesson 5: Debugging Python
Key skills
Key knowledge
Equipment list
Equipment needed across all lessons in this unit.
This list does not include equipment which is usually readily available in the classroom (e.g pencils, A4 paper etc)
Full equipment list for the subject
Quantities marked × will update. Items without quantities are unaffected
- micro:bit Python Editor ×1
- Digital device (internet-enabled) ×15
- Colouring pencils ×30
- Large space ×1
- Masking tape ×1
- Scissors right- and left-handed options recommended. ×30
- Sticky notes
The equipment below is optional
-
BBC micro:bits with battery packs if using tablets and micro USB cables if using laptops
- Paper ×30
Equipment list
Quantities marked × will update. Items without quantities are unaffected
- micro:bit Python Editor ×1
- Digital device (internet-enabled) ×15
- Colouring pencils ×30
- Large space ×1
- Masking tape ×1
- Scissors right- and left-handed options recommended. ×30
- Sticky notes
The equipment below is optional
-
BBC micro:bits with battery packs if using tablets and micro USB cables if using laptops
- Paper ×30
Related content
Unit resources
Knowledge organiser – Computing Y6: Exploring Python
Aimed at pupils, two pages providing key facts and definitions from the unit ‘Exploring Python’.
Vocabulary display – Computing Y6: Programming: Exploring Python
A display version of the vocabulary from the unit ‘Exploring Python’.
Teacher coding skills videos
Cross-curricular opportunities
British values: Mutual respect.
English: Spoken language; Writing – composition.