Arrange the following in correct order of exception handling in python :

(A) Write the code that may raise an exception inside a try block

(B) Execute some code regardless of whether the exception occurs or not using the finally block

(C) Handle the specific exception using the except block

(D) Raise the exception using the raise statement if necessary

Choose the correct answer from the options given below:

1
(A), (B), (C), (D)
2
(A), (C), (B), (D) 
3
(B), (A), (D), (C) 
4
(C), (B), (D), (A)

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation