title: Printing class not working
body: <p>I am new to python and can't figure this out.</p>
  
  <p>I have a class like</p>
  
  <pre><code>class Person():
      def __init__(self, name, age):
          self.name = name
          self.age = age
  
      def greet(self):
          print('Hello', self.name)
  </code></pre>
  
  <p>And I try to print it using <strong>print</strong> but it prints</p>
  
  <pre><code>&lt;__main__.Person object at 0x101fe9438&gt;
  </code></pre>
  
  <p>Why does it not print the name and age?</p>