Concept Flow - Try–except–finally behavior
Start try block
Execute try code
Exception?
No→Execute finally block
Go to except block
Execute except block
Execute finally block
End
The program tries the code in try. If no error, it runs finally then ends. If error, it runs except, then finally, then ends.