Need help on a project To :"Create a class called BankAccount with the following parameters "
kasale.jacktone at gmail.com
kasale.jacktone at gmail.com
Thu Jan 14 06:50:45 EST 2016
hello lee so what was the final answer u gave for the following question..
reate a constructor that takes in an integer and assigns this to a `balance` property.
Create a method called `deposit` that takes in cash deposit amount and updates the balance accordingly.
Create a method called `withdraw` that takes in cash withdrawal amount and updates the balance accordingly. if amount is greater than balance return `"invalid transaction"`
Create a subclass MinimumBalanceAccount of the BankAccount class
More information about the Python-list
mailing list