Finally in try-ecxept

can’t we avoid stuff written in finally(after try-except) by going out from indentation ?

Hey @stutijain578, I am not sure what do you mean by “going out of indentation” …but finally block is used to print or evaluate the things which you always want your function to do, even if there is an exception or the code runs without an exception. It is completely your choice to use finally block or not. But if you are using it then there should not be any reason to avoid it.

Hope this helps.
Happy Learning :slight_smile: