title: Name Error when instantiating a class in Python
body: <p>Okay, so I'm trying to create a class in Python that assigns parameters to the  elements of the periodic table, using the following code:</p>
  
  <pre><code>class Element:
      def __init__(self, Symbol, Name, Number, Row, Column):
          self.Symbol = Symbol
          self.Name = Name
          self.Number = Number
          self.Row = Row
          self.Column = Column
  </code></pre>
  
  <p>However, when trying to create an instance of the class,</p>
  
  <pre><code>H = Element(H, hydrogen, 1, 1, 1)
  </code></pre>
  
  <p>I get the error message</p>
  
  <pre><code>NameError: name 'H' is not defined
  </code></pre>
  
  <p>I suspect I'm using <code>__init__</code>  incorrectly, and if so, how can the mistake be corrected? Thanks for reading.</p>