Vidyalelo
Python · Q48

Exception Handling in Python

Programming · Python · question 48

Q48

What will happen if an exception is raised in a try block and is not handled in any of the except blocks?

A.
The program will terminate with an error message
Answer
B.
The program will continue running
C.
The program will go into an infinite loop
D.
The program will pause

Answer: Option A

Solution

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