If you want to access an exception object’s components and store them in an object called e, you have to use the following form of exception statement
If you want to access an exception object’s components and store them in an object called e, you have to use the following form of exception statement
A . except Exception(e):
B . except e=Exception:
C . except Exception as e:
D . such an action is not possible in Python
Answer: C
Explanation:
Reference: https://stackoverflow.com/questions/32613375/python-2-7-exception-handling-syntax
Latest PCAP-31-03 Dumps Valid Version with 109 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Subscribe
Login
0 Comments
Inline Feedbacks
View all comments