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 >
-
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
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.