Creating Class Methods - working well but still wont let me get to next lvl


#1


Creating Class Methods


my program's output is the same as it supposed to be but it still says its incorect


Replace this line with your code. 

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 %s %s with %s MPG" % (self.color,self.model,self.mpg)

my_car = Car("DeLorean", "silver", 88)
print my_car.display_car()


#2

didnt have a dot at the end of the sentense...


#3