If init is not a constructor, then why it is acting like the constructor?
What is the constructor in python and how it is different than init?
If init is not a constructor, then why it is acting like the constructor?
What is the constructor in python and how it is different than init?
Hey @Ujjwal.madaan, “init” is a reseved method in python classes. It is called as a constructor in object oriented terminology. This method is called when an object is created from a class and it allows the class to initialize the attributes of the class.
I hope this clears your doubt ! 
Happy Learning ! 
But in the video, sir says that init is not a constructor
Yeah as I said it is a reserved method in python. We inter-changeably call it constructor since it does the same role.
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.