Examveda

What will be the output of the following Python code?
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


This Question Belongs to Python Program >> Exception Handling In Python

Join The Discussion

Related Questions on Exception Handling in Python