Unable to figure out the error in the Override exercise


#1
class Car(object):
  condition = "new"
  def __init__(self, model, color, mpg):
    self.model = model
    self.color = color
    self.mpg   = mpg
    
  def display_car(self):
    
    return "This is a "+ self.color+" "+ self.model+ " with "+ str(self.mpg)+ " MPG."
  
  def drive_car(self):
    
    self.condition="used"
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 drive_car(self):
    
    self.condtion="like new"

    
my_car=ElectricCar("Lamborghini", "Red", 99, "molten salt")
print my_car.condition
my_car.drive_car()
print my_car.condition

#2

instead of new and the like new, output is coming new and new. I get the following message: It looks like you didn’t update the condition of my_car to ‘like new’.


#3

here:

self.condtion="like new"

you have a little typo in condition, so the condition doesn’t get updated