Posted by: Pdfprep
Post Date: November 5, 2020
If you need to serve two different exceptions called Ex1 and Ex2 in one except branch, you can write:
A . except Ex1 Ex2:
B . except (ex1, Ex2):
C . except Ex1, Ex2:
D . except Ex1+Ex2:
Answer: B
Explanation:
Reference: https://www.programiz.com/python-programming/exception-handling
Leave a Reply