title: compiler looking for an extra attribute within my function parameter
body: <p>Some context, I have a similar little more complex function which is under a class, and receives the same error. I do think this is just a concept problem that I have with functions.</p>
  <p>Code:</p>
  <pre><code>def add(self, atr):
  print(self.atr)
  
  add(&quot;me&quot;)
  </code></pre>
  <p>Error:</p>
  <pre><code>Traceback (most recent call last):
  
  
  File &quot;problem_file_2.py&quot;, line 5, in &lt;module&gt;
      add(&quot;me&quot;)
  
  TypeError: add() missing 1 required positional argument: 'atr'
  </code></pre>