Skip to main content
← CoursesPython FoundationsModule 4 · Object-oriented programmingFINAL: TODO listmission62 / 170
💬 Discuss🧪 Playground+200 XP
Task
📝 **🏆 FINAL MISSION:** TODO list 📋 **Steps:** 1. Create empty `todos = []` 2. Append `{"task": "learn Python", "done": False}` 3. Append `{"task": "build TODO app", "done": True}` 4. Count completed: `sum(1 for t in todos if t["done"])` 5. Print the count 💡 **Similar example (books):** ```python books = [] books.append({"title": "Python", "read": True}) books.append({"title": "Go", "read": False}) read_count = sum(1 for b in books if b["read"]) print(read_count) # 1 ``` 🎯 **Expected output:** `1` 🎉 Completing this mission finishes the whole 60-lesson course!

Keep going

✏️ Write your code here
🐍
Loading Python...
First visit only — ~5-10s. Stays cached afterward.
📊 Result
Press Run to see result...
📣 Help someone learn PythonShare this lesson with a friend — the first 15 are free, no signup.Tweet

💬 Discussion

Be the first to ask a question or share a tip.
Sign in to join the discussion. Reading is free.
Loading discussion…