What does __ init __ mean in python?

“__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.12 Oca 2018

Sizin İçin Seçtik  Can class take parameters in Python?

Leave a Reply

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