What will be the output of the following Python code?
def foo():
try:
print(1)
finally:
print(2)
foo()
def foo():
try:
print(1)
finally:
print(2)
foo()A. 1 2
B. 1
C. 2
D. none of the mentioned
Answer: Option A

Join The Discussion