Q. Which of the following methods is called when an object is printed?
β
Correct Answer: (B)
__str__
Explanation: `__str__()` is called by `print()` to get a user-friendly string representation.