Coding · Grades 3–9
Teaching Coding in Middle School: Python, Scratch and Algorithms
Begin with algorithms on paper, use Scratch for Grades 3 to 6 and move to Python from Grade 6 or 7 with very small programs: print, variables, if/else, loops and a short project.
Ready-to-teach resources for this topic
Coding Lessons: Python, Scratch & Algorithms
Scratch or Python first?
For Grades 3 to 6, block-based Scratch lets students build something that works in the first lesson. From Grade 6 or 7, Python is manageable if the first programs are tiny and students type them, run them and change them.
Start with algorithms on paper
Before any code, have students write exact instructions for an everyday task and let a partner follow them literally. The bugs that appear teach sequence, loops and conditions faster than a definition does.
A first Python unit
- Print and input.
- Variables and simple calculations.
- If and else.
- Loops.
- A small project, such as a quiz or number game.
Each unit comes with worksheets, a project and slides, so a non-specialist can teach it with a lesson of preparation.
Questions teachers ask
Should middle school students learn Scratch or Python?
Can a non-specialist teach these coding units?
What do students need installed?
Instant digital download. Print, project or assign today.
Browse the full collection
