Built-in exceptions
Python ships named errors for common failures. ValueError: int("Asha"). TypeError: 1 + "a". IndexError: list[99]. KeyError: dict missing key. FileNotFoundError: open missing path. ZeroDivisionError: 10/0. Exception is a common parent. Catch the type you expect, not a bare except.
Name five and one cause each. That is the viva. Matching name → cause scores more than reciting the hierarchy.
Built-in exceptions — output — ValueError. int("Asha") is the classic cause.
try: 10 / 0
│ ZeroDivisionError
▼
except → Cannot divide
│
▼
finallyFive names + one cause each.