2. member variable


class Car(object):

Oops, try again. my_car does not appear to be an instance of Car......can you tell me the problem!


That line should not be indented since that puts the instance inside the class definition (a circular reference). Remove the indentation.


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