Practice ยท 1 of 4
add_task
Write add_task(tasks, text) that APPENDS {"text": text, "done": False} to a copy of tasks and returns the new list. Do not mutate the input list.
Difficulty: beginner
Press Submit to check your solution.
Back to lesson: Practice: Task-Function Drills