Showing the List
Print all tasks.
Showing the List is a free Coding for Kids lesson on CoddyKit — lesson 4 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, one of 4 lessons in the course, and your progress syncs across the web and the CoddyKit app.
Show Your List! 👀
Hi friend! 👋 What good is a to-do list if you can't SEE it? 😄
Today we learn fun ways to show all your tasks nicely! 📋✨
print("Let's show the whole list! 👀")The Quick Way 📄
The fastest way is to just print the whole list! 📄
But it looks a bit plain with the brackets... let's make it prettier soon! 🎨
tasks = ["Eat", "Study", "Play"]
print(tasks)One Task Per Line 📃
A for loop lets us show each task on its OWN line! 📃
Much easier to read! 👍
tasks = ["Eat", "Study", "Play"]
for task in tasks:
print(task)Add Bullet Points 🔵
Let's put a little dot before each task to make a real list look! 🔵
tasks = ["Brush teeth", "Pack bag"]
for task in tasks:
print("- " + task)Number Each Task 🔢
Numbers help a LOT! Use enumerate() to count automatically! 🪄
We start at 1 so it feels natural for humans! 🙂
tasks = ["Wake up", "Wash", "Eat"]
for number, task in enumerate(tasks, 1):
print(number, task)Fancy with f-strings ✨
Make it extra pretty with an f-string and a checkbox emoji! ☑️
tasks = ["Homework", "Clean room"]
for n, task in enumerate(tasks, 1):
print(f"{n}. ⬜ {task}")Show How Many 🔢
Let's tell the user how many tasks they have using len()! 🧮
tasks = ["Read", "Draw", "Sing"]
print(f"You have {len(tasks)} tasks! 📋")Empty List Message 🫙
If the list is empty, show a happy message instead of nothing! 🎉
An empty list means... you finished everything! 🥳
tasks = []
if len(tasks) == 0:
print("All done! Nothing to do! 🎉")
else:
print(tasks)A Pretty Title 🖼️
Add a header so your list looks official! 😎
tasks = ["Study", "Play"]
print("=== MY TO-DO LIST === 📝")
for n, t in enumerate(tasks, 1):
print(f"{n}. {t}")The Whole Program 🌟
Let's combine adding AND showing into one mini program! 🎁
tasks = []
tasks.append("Feed the cat 🐱")
tasks.append("Do homework 📚")
print("=== TO-DO === 📝")
for n, t in enumerate(tasks, 1):
print(f"{n}. {t}")To-Do Champion! 🏆
You built a complete To-Do List app! 🎉🎉
- Show with a
forloop 📃 - Number with
enumerate()🔢 - Make it pretty with f-strings ✨
- Handle empty lists nicely 🫙
You're a real app builder now! 💪
print("My To-Do List app is complete! 🥇📝")Quick Check ✅
Last question of the course! You've got this! 🧠
Recap Time! 🎒
You finished the To-Do List course! 🌟🎉
- Loop with
forto show each task 📃 enumerate()adds numbers 🔢- f-strings make it pretty ✨
- Check
len()for empty lists 🫙
Amazing work, young coder! You built a real app! 🚀
print("To-Do List course done! 🎓📝")Frequently asked questions
Is the “Showing the List” lesson free?
Yes — the full text of “Showing the List” is free to read here on the web, and the Coding for Kids course includes 4 lessons in total. 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.
What will I learn in “Showing the List”?
Print all tasks. 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; this is — lesson 4 of 4, so you can start here or from the beginning and move at your own pace.
How long does the “Showing the 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.
All lessons in this course
- A List of Tasks
- Adding Tasks
- Removing Tasks
- Showing the List