The __init__ Method
Premium
In the previous lesson you added attributes by hand after creating an object. The __init__ method lets you set them up automatically every time a new instance is created.
In the previous lesson you added attributes by hand after creating an object. The __init__ method lets you set them up automatically every time a new instance is created.