title: Python def function
body: <p>My issue is that when trying to use the 'def' keyword I end up with a traceback that says:</p>
  
  <pre><code>"nameError: name 'a' is not defined".
  </code></pre>
  
  <p>If anyone could explain this error, I would appreciate it.</p>
  
  <p>Edit: thanks for the help</p>