Practice ยท 3 of 3
The Menu Step Function
Write handle(tasks, choice, arg) โ one iteration of a task-manager menu: 'add' -> add arg (default 'untitled'), 'done' -> complete index int(arg) (invalid int or range: unchanged), 'clear' -> remove all done tasks, anything else -> unchanged. handle NEVER prints. Returns the (possibly new) list.
Difficulty: beginner
Press Submit to check your solution.
Back to lesson: Practice: Mini Build: Persistent Task Manager Core