Python - Advanced Exception Handling
Consider this code:
What is the output?
try:
print("Try block")
x = 1 / 1
except ZeroDivisionError:
print("Exception caught")
else:
print("Else block")
finally:
print("Finally block")What is the output?
