class Human:
def exist(self)
return print("exists")
H1 = Human # Why do I need parentheses here? I get error if i dont put parentheses here.
H1.exist() # I get an error that says parameter 'self' unfilled.
Class Human does not take any arguments, there is no even __init__
method. So I can't give any arguments when making an instance of Human
so why do I need parentheses there?
I don't even know what I don't understand but I feel like I am missing something. Probably something about self
.