-
Notifications
You must be signed in to change notification settings - Fork 0
To handle the exception, we have put the code, result = numerator/denominator inside the try block. Now when an exception occurs, the rest of the code inside the try block is skipped. The except block catches the exception and statements inside the except block are executed.
License
VaibhavMojidra/Python---Demo-Try-Except-Construct
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
About
To handle the exception, we have put the code, result = numerator/denominator inside the try block. Now when an exception occurs, the rest of the code inside the try block is skipped. The except block catches the exception and statements inside the except block are executed.
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published