Vidyalelo
Python · Q29

Exception Handling in Python

Programming · Python · question 29

Q29

What is the purpose of the sys.exc_info() function in Python?

A.
It returns information about the currently handled exception
Answer
B.
It prints error messages
C.
It raises an exception
D.
It creates a function

Answer: Option A

Solution

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