title: Are variables kept in memory after the class has been initialized?
body: <p>If I defined a class</p>
  
  <pre><code>class myclass:
  
      def __init__(self, variable):    
          a = variable * 100
          self.a = a*1000
  </code></pre>
  
  <p>and I created an instance of the <code>myclass</code> object</p>
  
  <pre><code>myinstance = myclass([1])
  </code></pre>
  
  <p>After initialization, does python still keep <code>a</code> in it's memory? or does it only store <code>self.a</code>?</p>