Q. Which magic method is used to create a string representation of an object
β
Correct Answer: (A)
to string
Explanation: to string magic method is used when an object is treated like a string