Is this true that we can't use finally keyword with except. I see nowhere about this rule? (Python) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is this true that we can't use finally keyword with except. I see nowhere about this rule? (Python)

https://www.sololearn.com/post/1378276/?ref=app

15th Nov 2021, 5:05 PM
I Am a Baked Potato
I Am a Baked Potato - avatar
2 Answers
+ 4
Of course you can use finally after except. That multiple choice quiz is just plain wrong.
15th Nov 2021, 5:13 PM
Simon Sauter
Simon Sauter - avatar
0
Thank you for confirming Simon Sauter .
15th Nov 2021, 5:24 PM
I Am a Baked Potato
I Am a Baked Potato - avatar