2/11 help i dint see what is wrong with my code


#1

class Car(object):
my_car = Car()


#2

class body can't be empty. You should insert pass in your code
class Car(object):
pass

my_car = Car()


#3

tried that didnt work


#5

class Car(object):
pass
my_car=Car()


#6
class Car(object):
    pass
my_car=Car()

I ran into the same problem, the workaround is to make sure the instance of my_car is not indented or does not have any spacing. Messed me up for a good 5 minutes.