Vidyalelo
Python · Q7

Exception Handling in Python

Programming · Python · question 7

Q7

When will the else part of try-except-else be executed?

A.
always
B.
when an exception occurs
C.
when no exception occurs
Answer
D.
when an exception occurs in to except block

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board