7/11 Big Booty


#1

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

my_car.display_car()

#2

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


#3

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


#4

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