0

What is different between except and finally?

Anyone told me what is different except from finally

1st Sep 2019, 5:24 PM
Shekhar Sharma
Shekhar Sharma - avatar
1 Answer
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
1st Sep 2019, 5:30 PM
Trigger
Trigger - avatar