MainProgram5.py

import banking5 as banking

the_bank = banking.Bank user_anna = the_bank.add_user("Anna","myPassword") user_jessica = the_bank.add_user("Jessica","jesstess")

transaction_anna = banking.Transaction(the_bank, user_anna) transaction_anna.login(user_anna.username, user_anna.password) transaction_anna.deposit(25)

transaction_jessica = banking.Transaction(the_bank, user_anna) transaction_jessica.login(user_jessica.username, user_jessica.password) transaction_jessica.deposit(10)

transaction_anna.transfer(10, user_jessica) the_bank.print_accounts