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.
Code:
def add(self, atr):
print(self.atr)
add("me")
Error:
Traceback (most recent call last):
File "problem_file_2.py", line 5, in <module>
add("me")
TypeError: add() missing 1 required positional argument: 'atr'