for account in bank_dictionary: print(" ACCOUNT: ", account) for subaccount in bank_dictionary[account]: print(" Subaccount: ", subaccount)