title: How to return string representation of self in a class in Python?
body: <p>Returning self in f1 gives me <code>&lt;__main__.Test instance at 0x11ae48d40&gt;</code>.  I would like to be able to return 'apples and cinnamon' but I can't do str(self).  Is there a way for me to do this?</p>
  
  <pre><code>class Test:
      def __init__(self, thing):
          self.thing = thing
      def f1(self, thing):
          return self + " and " + thing #&lt;&lt;&lt;
  
  a = Test("apples")
  a.f1("cinnamon")
  </code></pre>