def __init__(self, name, weight, last_day, price, can_discount): Apple.__init__(self, name, weight, last_day, 100) self.can_discount = can_discount