Vidyalelo
Python · Q42

Exception Handling in Python

Programming · Python · question 42

Q42

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
Answer
D.
after f

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board