What Is a List?
A list holds many items together.
What Is a List? is a free Coding for Kids lesson on CoddyKit. This is lesson 1 of 4. You can read the complete lesson below for free — then practise it hands-on in the browser with a built-in code editor and a 24/7 AI tutor. It is part of the Coding for Kids learning path, and your progress syncs across the web and the CoddyKit app. The Coding for Kids course includes 4 lessons in total.
A Box for Many Things 📦
Hello, collector! 🧺 So far a box (variable) held ONE thing. But what if you have many toys? A list holds MANY things in one box! 🎉
Making a List 📝
We make a list with square brackets [ ] and commas between items!
fruits = ["apple", "banana", "cherry"]
print(fruits)Square Brackets 🔲
The [ and ] are like the walls of a basket. Everything inside is part of the list! 🧺
pets = ["dog", "cat", "fish"]
print(pets)Commas Separate Items ✂️
Each item is separated by a comma ,. The comma says "next item please!" 😄
colors = ["red", "blue", "green"]
print(colors)Lists Can Hold Numbers 🔢
Lists are not just for words! They can hold numbers too!
scores = [10, 20, 30, 40]
print(scores)How Many Items? 🔍
Use len() to count how many things are in a list!
animals = ["lion", "tiger", "bear"]
print(len(animals))An Empty List 🫙
A list can start empty, ready to be filled later! Just use [ ] with nothing inside.
basket = []
print(basket)
print(len(basket))Lots of Items 🎒
A list can hold as many things as you want! Big or small.
snacks = ["chips", "candy", "cookie", "fruit", "juice"]
print(snacks)Mixing Things 🎭
A list can even hold different kinds of things together, like words AND numbers!
mix = ["cat", 7, "star", 100]
print(mix)Your Toy Box 🧸
Let us make a list of your favorite toys!
toys = ["robot", "ball", "blocks"]
print(toys)
print(len(toys))You Made a List! 🎉
Awesome! Try making a list of three foods you love.
foods = ["pizza", "ice cream", "tacos"]
print(foods)Quick Check 🧠
Quiz time! 🎯 What do we use to make a list?
Recap Time! 🌟
Great collecting! 🎓 Today you learned:
- A list holds many items
- Use square brackets
[ ] - Separate items with commas
len()counts the items
You are a list-making star! 🌟
Learn Python with an AI tutor — free
Write and run real code in your browser, get instant help from a 24/7 AI tutor, and pick up where you left off on the web or in the app.
- Courses
- 35
- Lessons
- 140
Frequently Asked Questions
Is the “What Is a List?” lesson free?
Yes — the full text of “What Is a List?” is free to read here on the web. To practise it interactively (a built-in code editor and a 24/7 AI tutor) and unlock the rest of the Coding for Kids course, upgrade to CoddyKit PRO. The Coding for Kids course includes 4 lessons in total.
What will I learn in “What Is a List?”?
A list holds many items together. You practise Coding for Kids with hands-on code you run directly in the browser, and a 24/7 AI tutor answers your questions as you work through the lesson.
Do I need any experience to start Coding for Kids?
No prior experience is required. Coding for Kids on CoddyKit is structured for beginners through advanced learners, so you can start here or from the beginning and move at your own pace. This is lesson 1 of 4.
How long does the “What Is a List?” lesson take?
Most CoddyKit lessons take about 5–10 minutes. Each one is bite-sized and interactive, so you make steady progress and pick up exactly where you left off across the web and the app.
Can I write and run code in this Coding for Kids lesson?
Yes. Every Coding for Kids lesson includes a built-in code editor, so you write and run real code right in your browser and get instant AI feedback — no local setup required.