5:22 diubt of placing finally above try and except

at 5:22 if finally block is placed above try and except will try and except run or it just return after finally to give 10 as answer

Hello @abhiabhiddn, it won’t work. As it will give compilation error. The basic syntax is that first we need to implement try, then except, then finally.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.