Does a Python class need an init?

No, it is not necessary but it helps in so many ways. people from Java or OOPS background understand better. For every class instance, there is an object chaining that needs to complete when we instantiate any class by creating an object.

Sizin İçin Seçtik  How much did Udemy IPO for?

Leave a Reply

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