What will be the output of the following Python code:
try:
a = 10
b = 0
c = a/b
print("a/b =",c)
except Exception as error:
print(error)
else:
print("No Error")
1
0
2
No Error
3
Value Error
4
Division by zero
5
1
What will be the output of the following Python code:
try:
a = 10
b = 0
c = a/b
print("a/b =",c)
except Exception as error:
print(error)
else:
print("No Error")