Skip to content
Lantern Learn
Rocket & Raven · Grade 4

Code Crew Grade 4

Next step from G3: real Python, read and traced on the page. Lists, loops, strings, dictionaries and functions.

Free, start to finish. No card. Every week opens without signing in.

Code Crew Grade 4 course cover
Grade
Grade 4
Length
12 weeks
Pace
6 short lessons a week, about 15 minutes each
Price
Free, every week

About this course

Code Crew Grade 4 moves from Grade 3's pseudocode to real Python that kids read, trace and complete right on the page. They work with lists, loops, strings, dictionaries and functions while running the crew's space station: tallying fuel, checking cargo, decoding a garbled comms log and planning a launch. Short lessons every weekday with answers checked as they go, and an offline Crew Quest each weekend.

Kids will

  • Work with lists of records and small dictionaries
  • Read input, process it, and print structured output
  • Use early string methods (split, join, slice)
  • Trace a program by hand to predict its output
  • Refactor a 30 line program into smaller functions
  • Choose between a list and a dictionary for the right job

The 12 weeks

  1. Week 1

    Values and print

    Real Python, one line at a time

  2. Week 2

    Lists

    Many values, one name

  3. Week 3

    Loop through a list

    Visit every item

  4. Week 4

    Choices in a loop

    if, elif and else

  5. Week 5

    Strings up close

    Letter by letter

  6. Week 6

    Split and join

    Decode the comms log

  7. Week 7

    Dictionaries

    Look it up by name

  8. Week 8

    List or dictionary?

    Records and the right container

  9. Week 9

    Input, process, output

    Programs that ask questions

  10. Week 10

    Functions that return

    Name it, feed it, get an answer

  11. Week 11

    Refactor

    Same output, cleaner code

  12. Week 12

    Launch day

    Build the launch planner

Inside the course

From Week 8: The fuel budget

The station has 150 units of fuel and four trips planned. Kids trace a short Python program that totals the fuel in a list of trip records, finds the hungriest trip, and checks the plan against the budget. Then the crew drops a trip, and kids work out the new total and what the program prints.

From Week 12: The launch planner

Launch day needs a planner. Kids break the job into four pieces: decode the comms log into records, keep the ready launches, add up the fuel, and print the flight board. Then they build and test it one piece at a time.

Is it the right fit?

Built for Grade 4 students (ages 9 to 11) who have finished Grade 3 or are comfortable with loops, conditionals and variables. Kids answer by tapping and typing short answers, so no Python install is needed. If a grown-up has set up Python, some lessons offer an optional step to try the code on a computer.

About 15 minutes a day, Monday to Friday, plus an optional offline Crew Quest.

See the Code Crew ladder →

More in Code Crew

Try Week 1 today.

Open the course, pick Day 1 and go. Make a free parent account when you want progress saved for each kid.