Coding Dojo Python OOP Assignment
Assignment: Users with Bank Accounts
Objectives:
Practice writing classes with associations Update your existing User class to have an association with the BankAccount class. You should not have to change anything in the BankAccount class. The method signatures of the User class (the first line of the method with the def keyword) should also remain the same.
-
Update the User class init method
-
Update the User class make_deposit method
-
Update the User class make_withdrawal method
-
Update the User class display_user_balance method
-
SENSEI BONUS: Allow a user to have multiple accounts; update methods so the user has to specify which account they are withdrawing or depositing to