Summary. Use the __init__() method to initialize the object’s attributes. The __init__() doesn’t create an object but is automatically called after the object is created .
Read moreIs __ init __ same as constructor?
__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.10 Mar 2020
Read more