title: How to use the "__str__" method?
body: <p>I'm diving into some Object Oriented Programming. Unfortunately, I can't even get up to the first step: Converting classes to strings using <code>__str__</code>.</p>
  <p>Here's my code:</p>
  <pre><code>class Time:
  
      def __init__(self, hours = 0, minutes = 0, seconds = 0):
          self.hours = hours
          self.minutes = minutes
          self.seconds = seconds
  
      def __str__(self):
          return &quot;basdfadsg&quot;
  
  
  
  time1 = Time
  
  time1.hours = 3
  time1.minutes = 23
  time1.seconds = 13
  
  print(time1)
  </code></pre>
  <p>Whenever I try:</p>
  <pre><code>print(time1)
  </code></pre>
  <p>it returns:</p>
  <pre><code>&lt;class '__main__.Time'&gt;
  </code></pre>
  <p>What am I doing wrong?</p>