Wierd error in 6/11


can't figure out what's wrong with this picture.
"Oops, try again. The model of my_car should be "DeLorean"."
i've double and triple checked. tried refreshing the page, emptying my browser cache and removing the "print my_car.condition".
"DeLorean" is printed to the console, everything appears to be working fine. here's my code:

class Car(object):
    def __init__(self, model, color, mpg):
my_car=Car('Delorean', 'silver', 88)

print my_car.condition
print my_car.model
print my_car.color
print my_car.mpg


Hi this line

my_car=Car('Delorean', 'silver', 88)

you wrote 'Delorean instead of 'DeLorean' ...the l should be uppercase


hahaha, obviously i wasn't paying close enough attention. thank you!


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.