This code passes, but I get an error message. Is this supposed to happen? I checked the next lesson and it continued without covering my error message, so I thought this had to be adressed here.
My interpretor gave this message:
Traceback (most recent call last):
File "python", line 7, in
File "python", line 4, in init
AttributeError: 'Car' object has no attribute 'model'
class Car(object): condition = "new" def __init__(self, model, color, mpg): model = self.model color = self.color mpg = self.mpg my_car = Car("DeLorean", "silver", 88) print my_car.condition