B4Coder
0%
LessonAbout 6 min

Chapter 11 · Lesson 3 of 5

03. Printing objects nicely

print() on your own object shows something odd. Give the class a __str__ method and choose exactly what it shows.

Opening the lesson…