Q. What is true about `__str__()` in a class?
β
Correct Answer: (B)
It returns a string representation of the object
Explanation: `__str__()` defines the string representation of an object when `str()` or `print()` is called.