title: Can anyone explain me about __init_ in Python?
body: <p>List item</p>
  <pre><code>class Car:  
      def __init__(self, color, brand, number_of_seats):  
          self.color = color  
          self.brand = brand  
          self.number_of_seats = number_of_seats  
          self.number_of_wheels = 4  
          self.registration_number = GenerateRegistrationNumber()
  </code></pre>
  <p>Hi all,<br />
  1)Referring to the above example, could anyone tell me what is the difference between specific attributed and &quot;the other&quot; attributes? What will happen if registration_number is treated as a specific attribute?</p>
  <p>2)</p>
  <pre><code>class MyInteger:  
      def __init__(self, newvalue):    
          # imagine self as an index card.  
          # under the heading of &quot;value&quot;, we will write  
          # the contents of the variable newvalue.  
          self.value = newvalue  
  </code></pre>
  <p>If we consider this example, shouldn't it be self.newvalue = newvalue?</p>