Python 3.4.0a1 Windows 8.1
Class Created:
class Bank(object): bankrupt = False
Command entered in IDLE __main__
__main__
With b.bankrupt = True you create an instance variable that shadows the class-level variable.
b.bankrupt = True
If you want to change the class variable use
Bank.bankrupt = True