What is the output for the given python code?
try:
a=10/0;
except (ArithmeticError, IOError) as e:
print(e)
else:
print("Successfully Done")
1
division by zero
2
Successfully Done
3
IOError
4
Compile-time error
What is the output for the given python code?
try:
a=10/0;
except (ArithmeticError, IOError) as e:
print(e)
else:
print("Successfully Done")