Object representation
Let's check your understanding of the two approaches for representing objects, the __str__() and __repr__() methods.
Questo esercizio fa parte del corso
Introduction to Object-Oriented Programming in Python
Esercizio pratico interattivo
Passa dalla teoria alla pratica con uno dei nostri esercizi interattivi
Inizia esercizio