Create an instance of a class



class Car(object):
    my_car = Car()

I've also tried this code

class Car(object):
    my_car = Car()

but neither work


google search
== discussions / opinions ==
python creating an Instance
for instance


don't indent your object it needs to be outside your class in order to call your class