I want to report a bug on the exercise 5. Initializing a class
class Car(object): def __init__(self, model, color, mpg): condition = "new" self.model = model self.car = car self.mpg = mpg my_car = Car("DeLorean", "silver", 88) print my_car.condition
As you can see, my code will output an Indentation Error.
But i pass the exercise even when i recive this error.
EDIT: after fixing the indentation, i noticed that i wrote car instead of color, and i put the member variable inside init. and still got the pass the exercise.
Hope i helped