Can Python allow putting a single exception in parenthesis brackets? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Can Python allow putting a single exception in parenthesis brackets?

Single exception in parenthesis block

5th Feb 2018, 10:52 AM
Jurugu Brian
Jurugu Brian - avatar
1 Answer
+ 1
yes python allows both single and multiple exceptions in parenthesis. please follow the below link for reference https://www.tutorialspoint.com/python/python_exceptions.htm
15th Mar 2018, 6:11 AM
kaliki chandu
kaliki chandu - avatar