7/11 Big Booty


It prints the correct statement yet says I am not printing the correct statement.

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, str(self.mpg))

my_car = Car("DeLorean", "silver", 88)
print my_car.condition
print my_car.model
print my_car.color
print my_car.mpg



Never mind the solution was to put a period after MPG. Sometimes this site can be annoying...


I had the same problem as you. Thanks for posting it. That kind of error is the most frustrating


Hello everybody
solution was just by putting dot(.) at the end of word MPG :smile: