Practice · 1 of 3
load_tasks with a Default
CHALLENGE
Difficulty: beginner+25 XP
Write load_tasks(path) that returns the parsed JSON list when the file exists and [] when it does not (use pathlib + json).
Press Submit to check your solution.
Back to lesson: Practice: Mini Build: Persistent Task Manager Core