Don’t worry, unlock all articles / blogs on PrepInsta by just simply logging in on our website
How to create a list of objects in Python class
May 10, 2021
How to create a list of objects in Python class:
We can create a list of object in Python by appending class instances/object to list. By this, every index in the list can point to instance attributes and methods of the class and can access them. Let’s see how to create a list of objects in Python class.
Login/Signup to comment