Why doesn't this work?
class Parent:
    __var = "Whatever"
class Child(Parent):
    def printVar(self):
        print(self.__var)
Timmy = Child()
Timmy.printVar()
I get the following exception:
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
 File "<stdin>", line 3, in printVar
AttributeError: 'Child' object has no attribute '_Child__var'
 
     
     
     
    