Is the following Python code valid?
try:
# Do something
except:
# Do something
finally:
# Do something
1
no, there is no such thing as finally
2
no, finally cannot be used with except
3
no, finally must come before except
4
yes
Is the following Python code valid?
try:
# Do something
except:
# Do something
finally:
# Do something