Skip to main content

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).

Back to lesson: Practice: Mini Build: Persistent Task Manager Core