Is the following Python code valid?
try:
# Do something
except:
# Do something
finally:
# Do something
try:
# Do something
except:
# Do something
finally:
# Do somethingA. no, there is no such thing as finally
B. no, finally cannot be used with except
C. no, finally must come before except
D. yes
Answer: Option D

Join The Discussion