Mini-Project: The Resilient Report Builder

You receive attendance records from three different community centers and the data is unreliable: some counts are text, some are missing, one entry divides by a zero capacity. Write a program that processes every record without ever crashing. It must: catch and report each bad record by name, skip it, continue to the next, compute the average attendance from valid records only, raise a deliberate error if there are NO valid records at all, and use finally to print a completion line that always appears. Both languages.

SANKOFA SANDBOX
loading editor…
Your turn → Work through it step by step. This is a piece of the course project, not a throwaway exercise.

Built it in both languages?

Mark it done once your Python and JavaScript versions both run correctly. Honesty here is what makes the dashboard useful to you.

← BackNext: Module 20: Working with Files and JSON →