title: python print funcition is not working with a class
body: <p>I am creating a dice game where you print out a dice face(I am a beginner)
  and it has to have 2 classes. A class called DiceGame. it has a method called play, which shows the die face. There is also a class called Die. It has an attribute called face, which holds the face image. There is a method called roll, which randomly sets the face.</p>
  
  <pre><code>import random
  
  class Die(object):
  
      def __init__ (self, face =None, faceValue = None):
          self.face = face
          self.faceValue = faceValue
      def roll(self):
          for c in range(1,2):
              random.randint(1,2)
              if random == '1':
                  self.face = (' ------\n|      |\n|   o  |\n|      |\n ------')
  def __str__(self):
          return str(self.face)
  class DiceGame(Die):
      def play(self):
          print(self.face)
  go = DiceGame(Die)
  print(go.play)
  </code></pre>
  
  <p>The output is</p>
  
  <pre><code>bound method DiceGame.play of &lt;__main__.DiceGame object at 0x7fd060db0358&gt;&gt; 
  </code></pre>
  
  <p>It should print the die face. (I am new to stack overflow. Not sure why my code is formatted like that.)</p>