What is instance in Python?

Instance is an object that belongs to a class . For instance, list is a class in Python. When we create a list, we have an instance of the list class.

Sizin İçin Seçtik  What is the type of an object?

Leave a Reply

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