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

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation