Can't find any error in here although the result is same as the expected result


#1

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

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

The result is same as the expected result.

I think this possible way doesn't included in your answer checker


#2

@csswhiz31216,
Change your return into

return "This is a %s %s with %s MPG" % (self.color, self.model, str(self.mpg))
return "This is a %s %s with %s MPG."  % (self.color, self.model, str(self.mpg))