Skip to main content

Practice ยท 3 of 3

Mini Build: Save Then Load

The persistence cycle in one program: build a list of two dicts (task, done) for tasks "write report" (done) and "send email" (not done), save it to tasks.json, then load it back and print the COUNT of unfinished tasks (one line, just the number).

Difficulty: beginner

Back to lesson: Practice: JSON Persistence