Lesson 3: Using Python

Children develop their computational thinking skills of decomposition to help them to alter a picture using text-based programming language, Python.

Before the lesson

Download classroom resources

Learning objective

  • To understand basic Python commands


National curriculum

Pupils should be taught to:

  • Solve problems by decomposing them into smaller parts
  • Design, write and debug programs that accomplish specific goals
  • Use sequence, selection, and repetition in programs

Success criteria

Cross-curricular links

Attention grabber

Main event


Pupils needing extra support: May need to complete the same activity using Scratch, so that they can use the blocks rather than relying on typing.


Pupils working at greater depth: Should be able to clearly and confidently explain where each section of their code is.

Wrapping up

Assessing pupils' progress and understanding


Created by:
Sway Grantham,  
Computing specialist
Sway Grantham (@SwayGrantham) is a Primary School Teacher, a CAS Master Teacher and Specialist Leader in Education for Primary ICT. She also has a BCS Certificate in Computer Science Teaching (Primary). She has written several curricula and conducted research into the…
Find out more