Lazo Lab Sign up

App 2: To-Do List Manager / Build the to-do app

Lesson 10 of 10

Polish and next steps

Add colours with simple codes, clear the screen between menus, and show a count of tasks left. You've built an app you can really use every day.

Key points

  • sum(1 for t in tasks if not t["done"])
  • Keep functions small
  • Ideas: priorities, categories, search
left = sum(1 for t in tasks if not t["done"])
print(f"You have {left} task(s) left.")

Your turn

Add a 'tasks left' counter to the menu, then use your app for a week.

Watch a video on thisOpens YouTube search results for “Polish and next steps” in a new tab

Quiz · +10 XP

What does sum(1 for t in tasks if not t["done"]) count?

Log in to save progress and earn XP.