Posts by Douglas Haubert • 56 points
1 post
-
4
votes2
answers4478
viewsA: List of objects in Python
You must add a method __repr__(self) on the instantiated object, which will return a string as you want it to be displayed on screen. Behold this reply for more information. def __repr__(self):…