What is the __init__() method for?
What is the __init__()
method for?
a. This method is an informal representation of an object.
b. This method is a formal representation of an object.
c. This method is used to implement an iterator.
d. This method is run right after the instance is created and allows you to initialize the state of this instance (set certain attributes, validate the values of the attributes, etc.)