Practice ยท 3 of 4
delete_task
Write delete_task(tasks, index) returning (new_list, deleted_task). Out-of-range: ([], None) when tasks is empty, otherwise (copy unchanged, None).
Difficulty: beginner
Press Submit to check your solution.
Back to lesson: Practice: Task-Function Drills