Practice Test Geeks home

POC Object-Oriented Programming in Python 2

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

Select your answer