

InterviewSolution
Saved Bookmarks
1. |
Which of the following blocks will be executed whether an exception is thrown or not?(a) except(b) else(c) finally(d) assertThis question was addressed to me in unit test.Origin of the question is Exception Handling in chapter Classes and Objects, Inheritance, Polymorphism, Encapsulation and Exception Handling of Python |
Answer» The correct option is (c) finally |
|