🎯 What you'll learn: The full try / except / else / finally structure. Python's exception hierarchy. Catching multiple exception types. Raising exceptions with raise. Creating custom exception classes. The EAFP principle. Using exceptions as control flow in real programs.
1-B 2-B 3-C 4-B | 5 try 6 ZeroDivisionError 7 = try: n=int(input()) except ValueError: print('Not a number') 8 = IndexError 9 = Only if no exception occurred | 10 = To handle failures gracefully instead of crashing