Survive Bad Input

Wrap risky code in try/except so one bad value doesn't crash the whole run.

A intermediate Linux challenge worth 10 points. Solve it hands-on in a real Linux environment in your browser - no local setup, no fake shells.

The Challenge

Scenario: /home/labuser/lab/divide.py divides 100 by a list of inputs, but a 0 or a non-numeric value crashes the entire script instead of being counted as an error.

Task: Fix divide.py with try/except so all 5 inputs are processed: summary.txt must read successes: 3 and errors: 2. Run check when ready.