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

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation