def __repr__(self):
    s = '{name}(p = {_rate})'
    return s.format(name=self.__class__.__name__, **self.__dict__)
def __repr__(self):
    s = '{name}(p = {_rate})'
    return s.format(name=self.__class__.__name__, **self.__dict__)