title: Connecting classes and assigning values
body: <p>I've created two classes one called <code>Offense</code> and the other <code>Defense</code>. I'm having trouble making it so that a user can pick the <code>run</code> play and when the plays go against each other the greater play wins. I believe I've done the inheritance correctly on the <code>Defense</code> class by adding the <code>Offense</code> class to the argument of the <code>Defense</code> class. But after creating a rule that the <code>offense</code> play is less than the <code>defense</code> play IN the Defense class, nothing happens. </p>
  
  <p>Here's my code:</p>
  
  <pre><code>class Offense():
      def __init__(self):
          self.play1 = 'run'
  off_1 = Offense()
  
  
  
  
  class Defense(Offense):
      def __init__(self):
          self.play1 = 'run'
  
  defen_1 = Defense()
  off_1.play1 &lt; defen_1.play1
  
  if off_1.play1 &lt; defen_1.play1:
      print("Defense wins")
  
  </code></pre>