basically init is global to the class but different for diff. obj.?
Oops in python _init_
__init__
is known as a constructor in object oriented concepts. This method called when an object is created from the class and it allow the class to initialize the attributes of a class.
Every class can have it’s own __init__
In case of parameterized init , you can give different values to different variables of the same class.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.