title: Simpler way to call variable defined inside one function from another function
body: <p>suppose I have many variables, instead of writing them each every time inside (), is there a simpler way to compress all variables into one word?</p>
  
  <pre><code>def numbers():
      a = 1
      b = 2
      c = 3
      d = 4
      e = 5
      f = 6
      g = 7
      h = 8
      i = 9
  
      new_variable(a, b, c, d, e, f, g, h, i)
  
  
  def new_variable(a, b, c, d, e, f, g, h, i):
      j = g + i
      print (j)
      new_variable_2(a, b, c, d, e, f, g, h, i)
  
  def new_variable_2(a, b, c, d, e, f, g, h, i):
      k = g + h
      print (k)
      new_variable_3(a, b, c, d, e, f, g, h, i)
  
      def new_variable_3(a, b, c, d, e, f, g, h, i):
      l = h + i
      print (i)
  
  numbers()
  </code></pre>