__init__() is not a constructor . We saw the self as the first parameter which is nothing but the object itself i.e object already exists. __init__() is called immediately after the object is created and is used to initialize it.
Read moreWhat is the advantage of constructor in Python?
Advantages of Constructors when an object is created for a python class. The constructor function will be the first code segment to be initiated for execution, and this makes all initializations to happen as the first instance of work for the program .
Read moreWhat is __ new __ in Python?
The __new__() is a static method of the object class . When you create a new object by calling the class, Python calls the __new__() method to create the object first and then calls the __init__() method to initialize the object’s attributes.
Read more