What Will Be The Output Of The Following Python Codep Pre #1172
What will be the output of the following Python code?</p> <pre><code class="language-python">def a(): try: f(x, 4) finally: print('after f') print('after f?') a()</code></pre>
This multiple choice question (MCQ) is related to the book/course gs gs109 Python. It can also be found in gs gs109 Exception Handling - Python Exception Handling - Quiz No.3.
What will be the output of the following Python code?
def a(): try: f(x, 4) finally: print('after f') print('after f?') a()
No output
after f?
error
after f