Related Questions

What is the purpose of the __str__() method in Python classes?