+ 1
How does other work
2 Antworten
+ 7
'other' works analogically to 'self' - it means the second object argument in class operator method definition.
And - as well as 'self' - it's just a naming convention, you can use any name you like :)
0
a+b= output