Question OOP-EXC-0034
EasyWhat is the output of this code?
try:
print(10 // 0)
except ZeroDivisionError:
print("div", end=" ")
finally:
print("end")
- A.
0 end
- B.
end
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Exception Handling question
What is the output of this code?
try:
print(10 // 0)
except ZeroDivisionError:
print("div", end=" ")
finally:
print("end")
0 end
end
Sign up free to see the answer and a step-by-step explanation.
div end
div