
Python Exception Handling: Class 12 Computer Quiz
Answer these simple questions correctly and earn coins
Difficulty Level :
1 Question
Popular Questions In Python Exception Handling: Class 12 Computer Quiz
- Consider the following Python code: ```python def divide(x, y): try: result = x / y print("Answer :", result) except ZeroDivisionError: print("Sorry ! You are dividing by zero ") finally: print("This is always executed") divide(5, 0) ``` What will be the output of the above code?