Consider the following python code: def myDiv(x, y): if
y = = 0:
raise ZeroDivisionError
return x/y
What is the output of the following?
n = myDiv(4,0)
print(n)
1
0.0
2
No output
3
ZeroDivisionError
4
ValueError
Consider the following python code: def myDiv(x, y): if
y = = 0:
raise ZeroDivisionError
return x/y
What is the output of the following?
n = myDiv(4,0)
print(n)