class Trailer: def __init__(self, capacity, _type, priority, weight): self.capacity = capacity self.type = _type self.priority = priority self.weight = weight class Fertilizer(Trailer): # do nawożenia def __init__(self): super(Fertilizer, self).__init__(capacity=1, _type="Fertilizer", priority=1, weight=1) # parametry do uzupełnienia class Water(Trailer): # do podlewania def __init__(self): super(Water, self).__init__(capacity=1, _type="Water", priority=1, weight=1) # parametry do uzupełnienia class Harvest(Trailer): # do zbierania def __init__(self): super(Harvest, self).__init__(capacity=1, _type="Harvest", priority=1, weight=1) # parametry do uzupełnienia class Sow(Trailer): # do siania def __init__(self): super(Sow, self).__init__(capacity=1, _type="Sow", priority=1, weight=1) # parametry do uzupełnienia