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
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
You must be logged in to post a comment.
c
Explanation: This code shown above will result in an error simply because ‘f’ is not defined. ‘try’ and ‘finally’ are keywords used in exception handling.