A Admin • 833K Points Coach Q. Which method is automatically called when an object is converted to a string using str()? (A) __str__() (B) __init__() (C) __call__() (D) __repr__() Correct Answer - Option(A) Views: 33 Filed under category Python Hashtags: Share Manage Tags
Discusssion
Login to discuss.