Hiya folks, My code is not being accepted by codecademy with the comment " Oops, try again. You should first display the 'new' condition of my_car.". I am not sure I understand what it means. I did alter my code but that did not help, so I reverted tothis code On the console I get
class Car(object): condition = "new" def __init__(self, model, color, mpg): self.model = model self.color = color self.mpg = mpg def display_car(self): print "This is a %s %s with %s MPG." %(self.color, self.model, self.mpg) def drive_car(self): self.condition = "used" return self.condition class ElectricCar(Car): def __init__(self, model, color, mpg, battery_type): self.model=model self.color = color self.mpg = mpg self.battery_type=battery_type def display_ElectricCar(self): print "This is a %s %s with %s MPG and %s type battery." %(self. model, self.color, self.mpg, self.battery_type) def drive_car(self): self.condition = "like new" my_car = ElectricCar("DeLorean", "orange", 808, "molten salt") my_car.drive_car() print my_car.condition print my_car.drive_car() print my_car.condition Replace this line with your code.