Practice · 1 of 4
add_task
CHALLENGE
Difficulty: beginner+25 XP
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.
Press Submit to check your solution.
Back to lesson: Practice: Task-Function Drills