The Todo list expandedCreate a
- A method
printTasksthat will, like the previous excercise, loop over the
TodoList's tasks and print similarly.
addTaskmethod that will add a given task to the list of tasks.
- Use the object to add a task to the TodoList and then print the tasks
- Bonus: add a
completeTaskmethod that will take an
task_indexas a parameter and will set the appropriate task to be done