title: Why am I getting a TypeError when I seem to be filling the paremeters?
body: <p>I am trying to create an object and I'm initializing it with 2 fields first (name &amp; number). However each time I run the program I'm given this error:</p>
  <pre><code>TypeError: __init__() missing 1 required positional argument: 'number'
  </code></pre>
  <p>The <code>__init__</code> method in the class looks like this:</p>
  <pre><code>    def __init__(self, name, number):
      self.__name__ = name
      self.__number__ = number
  </code></pre>
  <p>The code where I try to create the object is this:</p>
  <pre><code>employee1 = ProductionWorker(Employee)
  
  name = input(&quot;Enter employee name:&quot;)
  number = input(&quot;Enter employee number:&quot;)
  
  employee1.__init__(name, number)
  </code></pre>
  <p>Does anyone know why I may be getting this error?</p>