0Pricing
Coding for Kids · Lesson

Removing Tasks

Cross things off.

Cross It Off! ❌

Hooray! 🎉 You finished a chore! Time to cross it off your to-do list! ✅

Today we learn how to REMOVE tasks from a list. Let's do it! 🚀

print("Let's cross off finished tasks! ❌")

Meet remove() 🗑️

The word remove() takes a task OUT of the list by its name! 🗑️

Just tell it which task to remove. ✨

tasks = ["Eat", "Study", "Play"]
tasks.remove("Study")
print(tasks)

All lessons in this course

  1. A List of Tasks
  2. Adding Tasks
  3. Removing Tasks
  4. Showing the List
← Back to Coding for Kids