Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vaibhavmojidra/python---demo-try-except-construct

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.
https://github.com/vaibhavmojidra/python---demo-try-except-construct

error-handling error-handling-python exception-handling-python mojidra programming python python2 python3 vaibhav vaibhav-mojidra vaibhavmojidra

Last synced: 3 days ago
JSON representation

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.

Awesome Lists containing this project

README

        

# Python Demo Try Except Construct

[![Vaibhav Mojidra - output.png](https://raw.githubusercontent.com/VaibhavMojidra/Python---Demo-Try-Except-Construct/master/output/output.png "Vaibhav Mojidra")](https://vaibhavmojidra.github.io/site/)