Question OOP-EXC-0014
MediumWhat is the output of this code?
def f():
try:
return 1
finally:
print("finally", end=" ")
return 2
print(f())
- A.
finally 1
- B.
2
- C.
Sign up free to see the answer and a step-by-step explanation.