New course! Every coder should learn Generative AI!
Try a free lesson- 1
Which error occurs in this code?
try: print(1/0) except ZeroDivisionError: raise ValueError Pls tell d answer
3 Answers
0
both error
0
Ultimately, ValueError, but both exceptions are raised.
- 1
sanjay . . both exceptions are raised. .First ZeroDivisionError and Then ValueError