If a class defines the __str__(self) method, for an object obj for the class, you can use which command to invoke the __str__ method.
(a) obj.__str__()
(b) str(obj)
(c) print obj
(d) all of the mentioned
I had been asked this question in my homework.
Question is from Strings topic in section Strings of Python