Dictionaries: Coding lesson for kids

In “Dictionaries”, children learn about pet = {"name": "Rex", "age": 3}; pet["name"].

pet = {"name": "Rex", "age": 3}: A dictionary stores key/value pairs — you look things up by KEY, not by position.

pet["name"]: Looks up the value stored under the key "name" — here, that is "Rex".

This lesson is part of Python in Coding at Pearls Valley Academy — Real code, beginner-friendly syntax.

Each lesson starts with a short narrated, animated explanation, then hands-on practice. A wrong answer gets a gentle hint, never a penalty, and children earn stars and pearls as they go.