Constructors In Python
A constructor is a special type of function which is used to initialize the instance members of the class. A constructor can be parameterized and non-parameterized as well.
Creating a Constructor:
A constructor is a class function that begins with a double underscore (_). The name of the constructor is always the same __init__().
Every class must have a constructor, even if it simply relies on the default constructor.
Python Non-Parameterized Constructor Example:
Python Parameterized Constructor Example: