+ 2
What does self , other ): mean ???
what's the __add__(self , other ): mean I don't understand 'other' ether
4 Answers
+ 10
self refers to the object itself and other refers to another object. self is always passed as the first argument in a method unless its a class method or a static method.
+ 8
Oh, I forgot to mention that self is passed implicitly. So when you call a method, you dont have to include self as a parameter
0
k
0
thanks