0
What is different between except and finally?
Anyone told me what is different except from finally
1 Réponse
0
'except' is code that will execute when a specific exception is found in the try-block. It doesnt run if that specific error isnt encountered
'finally' is code that runs no matter what. Even if the except-block runs, finally will still run