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.