PYTHON CIRCLE
Practice
Python Books
Archive
Subscribe
Login
Menu
Login
Practice
Python Books
Archive
Subscribe
Python Multiple Choice Questions
When will the else part of try-except-else be executed?
A. always
B. when an exception occurs
C. when no exception occurs
D. when an exception occurs in to except block
Show Answer
Next Question
Correct Answer:
C
Explanation: The else part is executed when no exception occurs.
© 2022-2023 Python Circle
Contact
Sponsor
Archive
Sitemap