ComputingYears 6–9Python

Lists and Iteration

Learn Lists and Iteration for Years 6–9 pupils (ages 10–14). Free practice questions, lessons and worked examples — aligned to the UK National Curriculum.

What you'll learn

  1. 1

    A list is like a shopping list 📝 — it keeps things in order, one after another.

  2. 2

    What number is 'eggs' in this list: milk, eggs, bread?

  3. 3

    Let's iterate through a list of fruits 🍎🍌🍊 — that means going through each item one by one.

  4. 4

    Now you try! Click each item in order to iterate through this list of animals 🐶🐱🐰.

  5. 5

    What does it mean to 'iterate' through a list?

  6. 6

    You have a list: [10, 20, 30, 40]. Iterate through it and add 5 to each number. What's the new list?

  7. 7

    Starting list: [2, 4, 6]. We iterate and add 1 to each. What is the new list?

Practise Lists and Iteration with Whizlo

Free AI-tutored lessons, unlimited practice questions, and progress tracking for ages 10–14. Aligned to the UK National Curriculum.