What is the output for the given python code?
try:
fileptr = open("file.txt","r")
except (ArithmeticError, IOError) as e:
print(e)
else:
print("Successfully Done")
fileptr.close()
Note: Consider the file.txt, not at the current working directory.
1
division by zero
2
Successfully Done
3
No such file or directory: 'file.txt'
4
None of the above