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 into except block
Answer:C
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 into except block