Beispiel #1
0
 def __init__(self, type, color, weight, wheel_size, brake_type, price,
              bike_subtype, has_suspension, gear_count):
     Bikes.__init__(self, type, color, weight, wheel_size, brake_type,
                    price)
     self.bike_subtype = bike_subtype
     self.has_suspension = has_suspension
     self.gear_count = gear_count
 def __init__(self, type, color, weight, wheel_size, brake_type, price,
              max_speed, frame_material, safety_score):
     Bikes.__init__(self, type, color, weight, wheel_size, brake_type,
                    price)
     self.max_speed = max_speed
     self.frame_material = frame_material
     self.safety_score = safety_score
 def __init__(self, type, color, weight, wheel_size, brake_type, price,
              has_pegs, has_gyro):
     Bikes.__init__(self, type, color, weight, wheel_size, brake_type,
                    price)
     self.has_pegs = has_pegs
     self.has_gyro = has_gyro