Practice · 2 of 4
complete_task
CHALLENGE
Difficulty: beginner+25 XP
Write complete_task(tasks, index) marking the task at index done, on a COPY, and returning it. Out-of-range index: return the copy unchanged.
Press Submit to check your solution.
Back to lesson: Practice: Task-Function Drills