Python Exception Handling

In programming languages Exception handling is the process of responding to unwanted or unexpected events when a computer program runs. Exception handling helps a programmer in dealing with such events to avoid the program or system crash. If these events are not handled properly it will disrupt the normal operation of a program

Classes in Python

Python is an object-oriented programming language. Unlike procedure-oriented programming, where the main emphasis is on functions, object-oriented programming stresses on objects. A class is a user defined blueprint or prototype from which objects are created. Classes provide a means of bundling data and functionality together.

Python Functions

In programming, a function is a reusable block of code that executes a certain functionality when it is called. Functions are away to achieve the modularity and reusability in code. Modular programming is the process of subdividing a computer program into separate sub programs. Reusability is using already developed code according to our requirement with out writing from scratch.