Python Object-Oriented Python Inheritance Super-Duper!

At 2:39 in the video, sneaky doesn't seem to always come out as true!

Kenneth = Thief("Kenneth")
> True
Kenneth.sneaky = False

1 Answer

That's because you haven't set sneaky = False(or sneaky keyword argument) at the __init__ method, which is self.sneaky = True by default, later you assigned Kenneth.sneaky = False which set sneaky to False.