class Number: def __init__(self, start): # on Number() self.data = start def __add__(self, other): # on x + other return Number(self.data + other)