Practice Test Geeks home

POC Object-Oriented Programming in Python 2

⏱️ About 6 min to complete · 7 questions

What is the purpose of the `__str__` method in a Python class?

Select your answer