Practice ยท 4 of 4
Bug Hunt 4: The Shared Default
CHALLENGE
Difficulty: beginner+25 XP
Every call to add_task seems to remember previous calls โ tasks pile up across calls. Fix WITHOUT removing the default: make each call start from a fresh list (or make the parameter required).
Press Submit to check your solution.
Back to lesson: Practice: Bug Hunt โ Repair Broken Programs