PYTHON CIRCLE
Practice
Python Books
Archive
Subscribe
Login
Menu
Login
Practice
Python Books
Archive
Subscribe
Blog available for sell
This blog is available for sale. Please 'contact us' if interested.
Advertise with us
Python Multiple Choice Questions
Which of the following blocks will be executed whether an exception is thrown or not?
A. except
B. else
C. finally
D. assert
Show Answer
Next Question
Correct Answer:
C
Explanation: The statements in the finally block will always be executed, whether an exception is thrown or not. This clause is used to close the resources used in a code.
© 2024-2025 Python Circle
Contact
Sponsor
Archive
Sitemap