The __add__ method describes what happens when calling + on two objects. For example calling 1 + 2 adds the int objects and returns the sum.
確定! 回上一頁