Practice ยท 3 of 3
Milestone 3: Interface and Report
Build summarize(tasks) -> dict with keys total (all) and open (done == 0); and main(argv, repo) dispatching: ['add', title] โ service add via repo, print 'added', return 0; ['list'] โ print each open task's title in order, return 0; anything else โ error to stderr, return 2. Both functions annotated (main returns int).
Difficulty: advanced
Press Submit to check your solution.
Back to lesson: Practice: Capstone Milestones