Lazo Lab Sign up

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

Lesson 1 of 10

What we're building

A command-line to-do app with a menu: add a task, list tasks, mark one done, delete one, and quit. Tasks are saved to a file so they're still there tomorrow.

Key points

  • A menu loop is the heart of many apps
  • Each menu option becomes a function
  • Data lives in a list of dictionaries
# Menu:
# 1. Add task
# 2. List tasks
# 3. Mark done
# 4. Delete task
# 5. Quit

Your turn

Create todo.py and write the menu as comments.

Watch a video on thisOpens YouTube search results for “What we're building” in a new tab

Quiz · +10 XP

Where will the tasks be kept while the app runs?

Log in to save progress and earn XP.