All projects
Intermediate+90 XP
To-Do List
Design a TodoList class that stores tasks and whether they're done. This is your first real taste of object-oriented programming: state (self.tasks) plus behavior (methods).
Requirements
- 1
Create a
TodoListclass that stores tasks - 2
add(task)adds a task as not-done - 3
complete(task)marks a task done - 4
show()prints each task with[x]or[ ]
Build it here — edit the starter code and hit Run:
todo-list.py · editable