title: Is it possible to call a variable from a method without passing as a return variable?
body: <p>I'm writing a library for some bird population parameters in different ecosystems. In order to not repeat code I want to take some variables defined in a previous method and use these in other method without passing this variable as return. For example</p>
  <pre><code>class asd:
      
      def __init__(self): 
          self.a = a
          self.b = b
  
      def fun1(self):
          self.a2 = self.a * 2
  
      def fun2(self):
          self.a4 = self.a2*2 #this is what i want to do. 
  </code></pre>