Here is my work
condition = "new"
def __init__(self, model, color, mpg):
self.model = model
self.color = color
self.mpg = mpg
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()
Indentations are all there (i just didnt show them here). But the problem is that when submit the code I get an error message saying
Oops, try again. It looks like you didn't print "This is a silver DeLorean with 88 MPG.
even though it printed. I erased all of my codes and retyped it but i still get the same error message. Any ideas as to why this is happening? I appreciate the help. Thank you guys!