?
What will be the output of the following Python code?
What will be the output of the following Python code?
def foo():
try:
return 1
finally:
return 2
k = foo()
print(k)
def foo():
try:
return 1
finally:
return 2
k = foo()
print(k)
Join the Discussion
Login to post a comment or share your explanation.
Login