Exemplo n.º 1
0
 def __init__(self,make,model,mileage,price,door):
     Automobile.__init__(self,make,model,mileage,price)
     self.make=make
     self.model=model
     self.mileage=mileage
     self.price=price
     self.door=door
Exemplo n.º 2
0
 def __init__(self, mode, rate):
     Automobile.__init__(self, mode, rate)
     self.type = "sports car"
Exemplo n.º 3
0
 def __init__(self, __make, __model, __mileage, __price, __doors):
     Automobile.__init__(self, __make, __model, __mileage, __price)
     self.__doors = __doors
Exemplo n.º 4
0
    def __init__(self, make_in, model_in, year_in, doors_in):
        #Initializes the superclass
        Automobile.__init__(self, make_in, model_in, year_in)

        #Initializes its own field
        self.doors = doors_in
Exemplo n.º 5
0
 def __init__(self,make,model,mileage,price,doors):
     Automobile.__init__(self,make,model,mileage,price)
     self.__doors=doors
Exemplo n.º 6
0
 def __init__(self, make, model, mileage, price, pass_cap):
     Automobile.__init__(self, make, model, mileage, price)
     self.__pass_cap = pass_cap
Exemplo n.º 7
0
 def __init__(self, __make, __model, __mileage, __price, __drive):
     Automobile.__init__(self, __make, __model, __mileage, __price)
     self.__drive = __drive
Exemplo n.º 8
0
 def __init__(self, make, model, mileage, price, drive_type):
     Automobile.__init__(self, make, model, mileage, price)
     self.__drive_type = drive_type
Exemplo n.º 9
0
 def __init__(self,make,model,mileage,price,drive_type):
      auto.__init__(self,make,model,mileage,price)
Exemplo n.º 10
0
 def __init__(self,make,model,mileage,price,doors):
      auto.__init__(self,make,model,mileage,price)
Exemplo n.º 11
0
 def __init__(self,make,model,mileage,price,pass_capacity):
      auto.__init__(self,make,model,mileage,price)
Exemplo n.º 12
0
 def __init__(self, make_in, model_in, year_in, riders_in):
     Automobile.__init__(self, make_in, model_in, year_in)
     self.riders = riders_in