def func1():
try:
return "it worked"
finally:
print("finally 1")
print(func1())
def func2():
print("finally 2")
def func3():
s = func2()
return s + ", did this work?"
print("finally 3")
print(func3())