Not seeing the problem (Creating Class Methods)


#1



Wondering if someone could point out what I'm doing wrong? I've used both print and return. Both show the results but will not be accepted as the solution.

Creating class methods

Message received:
Oops, try again. It looks like you didn't print "This is a silver DeLorean with 88 MPG.".


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 MGP." % (self.color, self.model, str(self.mpg))
        

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


#2

Never mind I found it. MGP in my code should have been MPG. Transposed two letters.


#3