Question OOP-EXC-0008
MediumWhat is the output of this code?
try:
print("A", end=" ")
except Exception:
print("B", end=" ")
else:
print("C", end=" ")
finally:
print("D")
- A.
A B C D
- B.
A C D
- C.
Sign up free to see the answer and a step-by-step explanation.