What is __ init __ constructor?

“__init__” is a reserved method in python classes . It is known as a constructor in OOP concepts. This method called when an object is created from the class and it allows the class to initialize the attributes of a class.

Sizin İçin Seçtik  Hayıflanmak ne demek cümle içinde?

Leave a Reply

Your email address will not be published. Required fields are marked *