def __init__(self, productCode, description, marketPrice, rentalPrice, material, size): inventory.__init__( self, productCode, description, marketPrice, rentalPrice ) # Creates common instance variables from the parent class self.material = material self.size = size
def __init__(self, productCode, description, marketPrice, rentalPrice, brand, voltage): inventory.__init__( self, productCode, description, marketPrice, rentalPrice ) # Creates common instance variables from the parent class self.brand = brand self.voltage = voltage