Multiple ChoiceIntermediate 30s
Catching All Exceptions
Choose the best answer for: bare except
Options
- 1except: is considered best practice for precise handling
- 2except: catches only RuntimeError and its subclasses
- 3except: catches all exceptions including SystemExit
- 4except: requires an explicit exception type argument
Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.