A Admin • 833K Points Coach Q. What is true about `__str__()` in a class? (A) It converts the object to an integer (B) It returns a string representation of the object (C) It destroys the object (D) It initializes the object Correct Answer - Option(B) Views: 26 Filed under category Python Hashtags: Share Manage Tags
Discusssion
Login to discuss.