What is the output produced by following output code
def test():
try:
return 0
except:
print('error')
finally:
return 2
obj=test()
print(obj)
1
0
2
2
3
0 2
4
error
What is the output produced by following output code