New!
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
- To recognise Python as a text-based language and link it to block coding.
Lesson 2: Syntax rules
- To follow Python’s syntax rules so the computer understands my instructions.
Lesson 3: Nested loops in Python
- To use nested loops to create patterns on the micro:bit.
Lesson 4: Remixing Python
- To adapt existing code by changing loops and variables to create a new outcome.
Lesson 5: Debugging Python
- To debug Python code by spotting and fixing errors in spacing, syntax and loops.
Key skills
Key knowledge
Related content
Resources
Unit resources
Computing
Knowledge organiser – Computing Y6: Exploring Python
Aimed at pupils, two pages providing key facts and definitions from the unit ‘Exploring Python’.
Computing
Vocabulary display – Computing Y6: Programming: Exploring Python
A display version of the vocabulary from the unit ‘Exploring Python’.
Teacher coding skills videos
A comprehensive range of coding skills videos which explain and demonstrate key coding concepts. These videos are designed to both guide and support teachers who find the programming component of the computing curriculum challenging, whilst also acting as a refresher for those more confident in their subject knowledge.
Cross-curricular opportunities
British values: Mutual respect.
English: Spoken language; Writing – composition.