+ 3
What difference between init & add method?
2 odpowiedzi
+ 2
hi
+ 1
__init__ is for initializing an instance when you create it, like setting initial values.
__add__ is for defining what happens if you use binary operator + with an instance.
So in short: No relation.