What will be the output of the following Python code?
def a():
try:
f(x, 4)
finally:
print('after f')
print('after f?')
a()
def a():
try:
f(x, 4)
finally:
print('after f')
print('after f?')
a()A. No output
B. after f?
C. error
D. after f
Answer: Option C

Join The Discussion