← Code LabPython0/50 solved · 0%
Tooling · medium

23. Context managers

Use with and contextlib.

Write a generator-based context manager `suppressed()` using `@contextmanager` that swallows any `ValueError` raised inside the `with` block.
Required in your answer: @contextmanageryield