← Code LabPython0/50 solved · 0%
Error handling · easy

15. Exceptions

Handle errors gracefully.

Write `safe_divide(a, b)` returning `a / b`, or `None` if `b` is zero (catch `ZeroDivisionError`).
Required in your answer: tryexcept