title: Accesing variables in another function
body: <p>I need to make to be able to access variables from another function in the program. This is nothing major in terms of programming but it's something I need to know to build up more knowledge.</p>
  
  <pre><code>def s():
      v = 6 + 4
      a()
      return v
  
  def a():
      ace = v + 4
      print(ace)
  
  s()
  </code></pre>